Welcome! Log In Create A New Profile

Advanced

Routing to a certain worker

M.P. Ardhanareeswaran
July 23, 2018 10:46AM
All:

I am new to NGINX handler development.

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?


With regards,
M.P. Ardhanareeswaran
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Routing to a certain worker

M.P. Ardhanareeswaran 414 July 23, 2018 10:46AM

Re: Routing to a certain worker

Maxim Dounin 167 July 23, 2018 10:48AM

Re: Routing to a certain worker

M.P. Ardhanareeswaran 163 July 23, 2018 11:26AM

Re: Routing to a certain worker

Maxim Dounin 176 July 23, 2018 11:36AM

Re: Routing to a certain worker

M.P. Ardhanareeswaran 151 July 23, 2018 01:54PM

Re: Routing to a certain worker

Maxim Dounin 184 July 23, 2018 03:16PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 116
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready