On tor, 2008-06-26 at 10:32 +0800, Roy M. wrote:

> If I set the number of fd to 65535, that's mean I can have 65535
> concurrent client (in theory) ?

That means the total number of connetions (both client and server) plus
disk files Squid can keep open at any given time is up to 65535.

A cacheable cache miss of noticeable size uses 3 (client, server, disk)

A cache hit uses 2 (client, disk)

A memory cache hit uses 1 (client)

A non-cachable requests uses 2 (client, server)

Persistent connections stay used between requests, optimizing the setup
time for the next request (eleminated), making a huge difference over
WAN links.

With 65K filedescriptors you can probably support somewhere in the range
of 30k-40k concurrent users with persistent connections, a little
depending on how you define concurrent..

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to