Routing to a certain worker
M.P. Ardhanareeswaran
mp.ardhanareeswaran at oracle.com
Mon Jul 23 15:24:30 UTC 2018
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 at 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 at 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=
More information about the nginx-devel
mailing list