Single proxy connection on identical simultaneous requests

caruccio nginx-forum at nginx.us
Fri Jan 14 21:02:24 MSK 2011


Hi,

I'm wondering if there's some way to avoid multiple proxy_pass(ing) to
a
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
backend
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
response
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 mailing list