Re: [PATCH] Optimization: domain agnostic pconn

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Fri, 18 Nov 2011 21:02:48 +0100

lör 2011-11-19 klockan 00:56 +1300 skrev Amos Jeffries:
> This removes the domain from the server pconn key.

I would not recommend doing this.

We started out with only IP:PORT as the key, but then had to add doamin
to origin server connections due to broken servers not expecting
persistent connecitons crossing domain based virtual servers.

> Squid using cache_peer can see a large number of wasted idle connections
> to their peers due to the key domain value if the peer hostname is not
> substituted properly. There is also a similar affect when contacting
> servers with virtual hosted domains.

domain should never be part of a cache_peer pconn key. Don't even see a
need of using the peer name there.

but what you describe above sounds like bugs where it somehow is
forgotten that a connection was sent to a peer. Better fix those bugs
than hiding their effect.

Regards
Henrik
Received on Fri Nov 18 2011 - 20:02:53 MST

This archive was generated by hypermail 2.2.0 : Sat Nov 19 2011 - 12:00:06 MST