Welcome! Log In Create A New Profile

Advanced

Re: Single proxy connection on identical simultaneous requests

Maxim Dounin
January 14, 2011 02:08PM
Hello!

On Fri, Jan 14, 2011 at 01:02:24PM -0500, caruccio wrote:

> 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?

This is usually called "busy locks" here, and not yet implemented.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Single proxy connection on identical simultaneous requests

caruccio January 14, 2011 01:02PM

Re: Single proxy connection on identical simultaneous requests

Maxim Dounin January 14, 2011 02:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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