<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reverse Proxy Performance &#8211; Varnish vs. Squid (Part 2)</title>
	<atom:link href="http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 10 Mar 2010 02:28:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Torgeir</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-75</link>
		<dc:creator>Torgeir</dc:creator>
		<pubDate>Tue, 02 Mar 2010 13:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-75</guid>
		<description>@Bryan

&quot;I know both Facebook and Twitter use Varnish and I am sure they both handle and immense amount of traffic to their servers. I wish we could get that answer from them.&quot;

There&#039;s some information on these subjects in the list archives, for instance, John from Twitter posted about their setup here: http://projects.linpro.no/pipermail/varnish-dev/2009-February/000968.html

You&#039;ll also want to look at Kristians blog, among other things he describes his 143k req/s setup: http://kristian.blog.linpro.no/2010/01/13/pushing-varnish-even-further/</description>
		<content:encoded><![CDATA[<p>@Bryan</p>
<p>&#8220;I know both Facebook and Twitter use Varnish and I am sure they both handle and immense amount of traffic to their servers. I wish we could get that answer from them.&#8221;</p>
<p>There&#8217;s some information on these subjects in the list archives, for instance, John from Twitter posted about their setup here: <a href="http://projects.linpro.no/pipermail/varnish-dev/2009-February/000968.html" rel="nofollow">http://projects.linpro.no/pipermail/varnish-dev/2009-February/000968.html</a></p>
<p>You&#8217;ll also want to look at Kristians blog, among other things he describes his 143k req/s setup: <a href="http://kristian.blog.linpro.no/2010/01/13/pushing-varnish-even-further/" rel="nofollow">http://kristian.blog.linpro.no/2010/01/13/pushing-varnish-even-further/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan Migliorisi</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-56</link>
		<dc:creator>Bryan Migliorisi</dc:creator>
		<pubDate>Tue, 02 Feb 2010 12:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-56</guid>
		<description>Thanks Ronald!

I&#039;ll check it out in Konqueror, though thats not the most common browser ;)</description>
		<content:encoded><![CDATA[<p>Thanks Ronald!</p>
<p>I&#8217;ll check it out in Konqueror, though thats not the most common browser <img src='http://deserialized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Knudsen</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-55</link>
		<dc:creator>Ronald Knudsen</dc:creator>
		<pubDate>Tue, 02 Feb 2010 12:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-55</guid>
		<description>Great post! I just suscribed to your RSS feed. Your site is kinda messy in my browser. I used Konqueror. Just to let you know.</description>
		<content:encoded><![CDATA[<p>Great post! I just suscribed to your RSS feed. Your site is kinda messy in my browser. I used Konqueror. Just to let you know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-54</link>
		<dc:creator>Nikhil</dc:creator>
		<pubDate>Wed, 30 Dec 2009 05:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-54</guid>
		<description>Hey Brian,

Can u tell me how i can calculate the number of 
--- Maximum no.of Concurrent users during a time period(a day/a month)
--- Maximum no.of concurrent sessions during a time period (a day/ a month)

Is it possible to calculate this from the access.logs?

Cud u tell me if u know any formula with which i can calculate the above.

Thanks
Nix</description>
		<content:encoded><![CDATA[<p>Hey Brian,</p>
<p>Can u tell me how i can calculate the number of<br />
&#8212; Maximum no.of Concurrent users during a time period(a day/a month)<br />
&#8212; Maximum no.of concurrent sessions during a time period (a day/ a month)</p>
<p>Is it possible to calculate this from the access.logs?</p>
<p>Cud u tell me if u know any formula with which i can calculate the above.</p>
<p>Thanks<br />
Nix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Durability, Scalability, Availability &#183;</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-47</link>
		<dc:creator>Durability, Scalability, Availability &#183;</dc:creator>
		<pubDate>Fri, 13 Nov 2009 01:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-47</guid>
		<description>[...] the fastest, which one is easier to setup or integrate with legacy apps etc. I&#8217;m certainly NOT trying to get into that! In fact I will skirt the issue entirely saying this: when the features are [...]</description>
		<content:encoded><![CDATA[<p>[...] the fastest, which one is easier to setup or integrate with legacy apps etc. I&#8217;m certainly NOT trying to get into that! In fact I will skirt the issue entirely saying this: when the features are [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrian chadd</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-44</link>
		<dc:creator>adrian chadd</dc:creator>
		<pubDate>Sat, 07 Nov 2009 09:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-44</guid>
		<description>Did you publish the configuration somewhere? I seriously doubt seeing Squid&#039;s concurrency falling off so sharply. I&#039;ve been running Squid and Lusca in production with between 10 and 20,000 concurrent connections over a WAN with no noticable drop in connection timing.

You&#039;re also not testing a &quot;WAN&quot; scenario well enough. You should introduce client and/or server side latency; packet loss; experiment with larger request and response bodies, etc, etc. You may find Varnish drops off quicker than you&#039;d expect.</description>
		<content:encoded><![CDATA[<p>Did you publish the configuration somewhere? I seriously doubt seeing Squid&#8217;s concurrency falling off so sharply. I&#8217;ve been running Squid and Lusca in production with between 10 and 20,000 concurrent connections over a WAN with no noticable drop in connection timing.</p>
<p>You&#8217;re also not testing a &#8220;WAN&#8221; scenario well enough. You should introduce client and/or server side latency; packet loss; experiment with larger request and response bodies, etc, etc. You may find Varnish drops off quicker than you&#8217;d expect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan Migliorisi</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-43</link>
		<dc:creator>Bryan Migliorisi</dc:creator>
		<pubDate>Wed, 28 Oct 2009 00:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-43</guid>
		<description>@Mark

Thanks for the pointer.  I&#039;ll rerun my tests using your recommendations.</description>
		<content:encoded><![CDATA[<p>@Mark</p>
<p>Thanks for the pointer.  I&#8217;ll rerun my tests using your recommendations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nottingham</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-42</link>
		<dc:creator>Mark Nottingham</dc:creator>
		<pubDate>Tue, 27 Oct 2009 20:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-42</guid>
		<description>http_load in -parallel mode tests how a server handles overload, not its capacity. 

In other words, you&#039;re showing (very effectively) how the servers handle a load greater than they&#039;re able to, which isn&#039;t necessarily at all related to how they&#039;re able to handle well-sized loads.

While overload metrics are important, they&#039;re not really giving any indication of how fast the server actually is; you&#039;re only showing what happens once you exceed the servers&#039; capabilities. 

To do that, you need to run a series of tests at different request rates, e.g., using autobench.

A few other metrics to look at: how different response sizes are handled, and proxy performance vs. cache performance.</description>
		<content:encoded><![CDATA[<p>http_load in -parallel mode tests how a server handles overload, not its capacity. </p>
<p>In other words, you&#8217;re showing (very effectively) how the servers handle a load greater than they&#8217;re able to, which isn&#8217;t necessarily at all related to how they&#8217;re able to handle well-sized loads.</p>
<p>While overload metrics are important, they&#8217;re not really giving any indication of how fast the server actually is; you&#8217;re only showing what happens once you exceed the servers&#8217; capabilities. </p>
<p>To do that, you need to run a series of tests at different request rates, e.g., using autobench.</p>
<p>A few other metrics to look at: how different response sizes are handled, and proxy performance vs. cache performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan Migliorisi</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-41</link>
		<dc:creator>Bryan Migliorisi</dc:creator>
		<pubDate>Fri, 16 Oct 2009 16:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-41</guid>
		<description>@John

That is a good question.  I know both Facebook and Twitter use Varnish and I am sure they both handle and immense amount of traffic to their servers. I wish we could get that answer from them.</description>
		<content:encoded><![CDATA[<p>@John</p>
<p>That is a good question.  I know both Facebook and Twitter use Varnish and I am sure they both handle and immense amount of traffic to their servers. I wish we could get that answer from them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Connelly</title>
		<link>http://deserialized.com/reverse-proxy-performance-varnish-vs-squid-part-2/comment-page-1/#comment-40</link>
		<dc:creator>John Connelly</dc:creator>
		<pubDate>Fri, 16 Oct 2009 16:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://deserialized.com/?p=37#comment-40</guid>
		<description>I&#039;d be curious to see a comparison of squid and varnish that deals with maximum concurrent connections. I currently use squid as a simple reverse proxy (no caching) to insulate apache from slow clients. It can handle ~5000 concurrent connections without problems. Unfortunately squid tops out around 3500 requests per second due to its high cpu usage and singe-process single-thread architecture.

Varnish, on the other hand, was able to do 13,000 requests per second in the same test setup, but when I tried it in a real-world environment it fell flat on its face with thousands of concurrent connections.

Anyone have any good tips for varnish running in simple reverse-proxy mode, and how to have it handle 10,000+ concurrent connections?</description>
		<content:encoded><![CDATA[<p>I&#8217;d be curious to see a comparison of squid and varnish that deals with maximum concurrent connections. I currently use squid as a simple reverse proxy (no caching) to insulate apache from slow clients. It can handle ~5000 concurrent connections without problems. Unfortunately squid tops out around 3500 requests per second due to its high cpu usage and singe-process single-thread architecture.</p>
<p>Varnish, on the other hand, was able to do 13,000 requests per second in the same test setup, but when I tried it in a real-world environment it fell flat on its face with thousands of concurrent connections.</p>
<p>Anyone have any good tips for varnish running in simple reverse-proxy mode, and how to have it handle 10,000+ concurrent connections?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
