route requests with the same hash to the same worker process

18 views
Skip to first unread message

amir phl

unread,
Dec 6, 2021, 6:17:04 AM12/6/21
to openresty-en
Is there any way to route the requests with the same hash (I mean hashing the request URI) to the same worker process? I appreciate any help. 
example:
Assume that the request to https://example.com/abc is handled by the worker process with pid=349, I want the upcoming requests to https://example.com/abc to be handled by the worker with pid=349. 
Reply all
Reply to author
Forward
Message has been deleted
0 new messages