Re: [squid-users] requests per second

From: Michael Hendrie <michael_at_hendrie.id.au>
Date: Tue, 13 Mar 2012 12:49:48 +1030

On 13/03/2012, at 12:07 AM, guest01 wrote:

> Hi,
>
> We are using Squid as forward-proxy for about 10-20k clients with
> about 1200RPS.
<snip>
>
> IMHO, it is really important which features you are planning to use.
> For example, we are using authentication (kerberos, ntlm, ldap) and
> ICAP content adaption. Without that, our RPS-rate would be much
> higher. Because of a lacking SMP-support in 3.1, we are using 4
> instances per server. At the beginning, the setup used to be much
> simpler! ;-)
>

Also, understanding your traffic throughput (mbps) and cache-hit ratio and not just request/second is a big factor in scoping required hardware. When benchmarking with Web Polygraph, you can see the difference throughput and cache-hit has on overall server performance.

As an example, one particular server I benchmarked in a forward proxy configuration performed as follows:

1200 requests-per-second @ ~350mbps
or
2700 requests-per-second @ ~200mbps

That was with Polygraph configured to achieve around 15% byte hit ratio.

Changing the byte hit ratio of the test up to around 40% resulted in a huge increase in request rate throughput due to a lot more content being satisfied from the high-speed disk array. A 40% byte hit wasn't realistic for the traffic pattern the server was going to see so was an unrealistic test result.

Who knows what the results would have looked like if I added auth, a few ACL's different refresh patterns etc.

I think it is very difficult for anyone to answer (other than a guide) whether using hardware component X will achieve a result of Y unless they're using the exact same hardware (not just 1 component), have the same configuration and same traffic patterns.

> hth,
> Peter
>
> On Mon, Mar 12, 2012 at 1:47 PM, David B. <haazeloud_at_gmail.com> wrote:
>> Hi,
>>
>> It's only a reverse proxy cache, not a proxy. This is different.
>> We use squid only for images.
>>
>> Squid : 3.1.x
>> OS : debian 64 bits
>>
>> Le 12/03/2012 12:44, Student University a écrit :
>>> Hi David ,,,,
>>>
>>> You achieve 2K with what version of squid ,,,
>>> do you have any special configuration tweaks ,,,
>>>
>>> also what if i use SSD [200,000 Random Write 4K IOPS]
>>>
>>> Best Regards ,,,
>>> Liley
>>>
Received on Tue Mar 13 2012 - 02:19:52 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 13 2012 - 12:00:09 MDT