Single proxy connection on identical simultaneous requests
nginx-forum at nginx.us
Fri Jan 14 21:02:24 MSK 2011
I'm wondering if there's some way to avoid multiple proxy_pass(ing) to
concurrent identical request at a given moment.
The situation is that I have a gazillion identical requests which are
not cached yet.
So, when the first non-cached request is handled, it is redirected to my
server to retrieve and respond on that request. The problem is that I
have too many
identical requests hitting on my backend server simultaneously. Since
all other "active"
connections are the same as the first one, why dont they just wait for
from the first one, avoiding unnecessary backend connections?
How could I do something like this?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,166333,166333#msg-166333
More information about the nginx