Theoretical connections/second limit using Varnish

Poul-Henning Kamp phk at
Wed Apr 29 18:22:34 CEST 2009

In message <49F87DE4.3040300 at>, Nick Loman writes:

>Has Varnish got a solution to this problem which does not involve 
>time-wait recycling? One thing I've thought of is perhaps SO_REUSEADDR 
>is used or could be used when Varnish makes connections to the backend?

Varnish tries as hard as reasonable to reuse backend connections,
so you should be able to get multiple requests per backend connection.

If this is not the case for you, you should find out why backend connections
are not reused.


Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list