Welcome! Log In Create A New Profile

Advanced

Re: Routing to a certain worker

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

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@mdounin.ru> 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
> https://urldefense.proofpoint.com/v2/url?u=http-3A__mdounin.ru_&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=c0nJ6OcgTgcBV2N1F7_XcSoSai9fe2ao0-El70rew7s&m=B5ky0Ml5nLkSWmhca2mPQyNNegMAMQNqIKQLeI7JGe0&s=RCnG0nkB-3mTFbLYg97PgrgUuhwb3Bq31b_39q60kks&e=
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.nginx.org_mailman_listinfo_nginx-2Ddevel&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=c0nJ6OcgTgcBV2N1F7_XcSoSai9fe2ao0-El70rew7s&m=B5ky0Ml5nLkSWmhca2mPQyNNegMAMQNqIKQLeI7JGe0&s=1kWrYmRexAC_JXWb8zbVSQvQkfmAw73Dy5egPAJ_1UQ&e=

_______________________________________________
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 415 July 23, 2018 10:46AM

Re: Routing to a certain worker

Maxim Dounin 168 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 177 July 23, 2018 11:36AM

Re: Routing to a certain worker

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

Re: Routing to a certain worker

Maxim Dounin 186 July 23, 2018 03:16PM



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

Online Users

Guests: 178
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