Routing to a certain worker

M.P. Ardhanareeswaran mp.ardhanareeswaran at
Mon Jul 23 15:24:30 UTC 2018


I am developing a customer, HTTP client application.  So the only choice for me, it appears,  is to reuse the initial connection (which is persistent) for subsequent operations.  Do you see issues there?

(I will have clean up issues in the worker if the client application disappears.)

With regards,

> On Jul 23, 2018, at 10:46 AM, Maxim Dounin <mdounin at> wrote:
> Hello!
> On Mon, Jul 23, 2018 at 10:45:05AM -0400, M.P. Ardhanareeswaran wrote:
>> I see that NGINX can have multiple workers accepting connections 
>> on the same port.  
>> Is it possible to route the requests to a module but in a 
>> CERTAIN worker? 
>> I am exploring ways to implement a REST database API in a 
>> module.  Initially, an application can do a POST to create a 
>> database connection and it can go to any worker.  I can return a 
>> URI in Location header.  Subsequent operations on this database 
>> connection has to go the same worker.  
>> Is this possible?
> No.
> -- 
> Maxim Dounin
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at

More information about the nginx-devel mailing list