<?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: Twisted.web vs Tornado Performance Test</title>
	<atom:link href="http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/</link>
	<description>Make stuff to do things</description>
	<lastBuildDate>Tue, 31 Aug 2010 03:54:33 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: air jordan 12</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-96</link>
		<dc:creator>air jordan 12</dc:creator>
		<pubDate>Wed, 09 Jun 2010 01:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-96</guid>
		<description>Here elaborates the matter not only extensively but also detailly .I support the &lt;br&gt;write&#039;s unique point.It is useful and benefit to your daily life.You can go those &lt;br&gt;sits to know more relate things.They are strongly recommended by friends.Personally!&lt;br&gt;&lt;a href=&quot;http://you-rselfas.com/&quot; rel=&quot;nofollow&quot;&gt;http://you-rselfas.com/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Here elaborates the matter not only extensively but also detailly .I support the <br />write&#39;s unique point.It is useful and benefit to your daily life.You can go those <br />sits to know more relate things.They are strongly recommended by friends.Personally!<br /><a href="http://you-rselfas.com/" rel="nofollow">http://you-rselfas.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: air max shoes</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-83</link>
		<dc:creator>air max shoes</dc:creator>
		<pubDate>Tue, 08 Jun 2010 03:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-83</guid>
		<description>Well , the view of the passage is totally correct ,your details is really  reasonable and  you guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!  &lt;br&gt;&lt;a href=&quot;http://aesthetic-appeal.com&quot;  rel=&quot;nofollow&quot;&gt;aesthetic-appeal&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Well , the view of the passage is totally correct ,your details is really  reasonable and  you guy give us  valuable  informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!  <br /><a href="http://aesthetic-appeal.com"  rel="nofollow">aesthetic-appeal</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twisted.web vs Tornado, part deux &#124; Apparatus</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-56</link>
		<dc:creator>Twisted.web vs Tornado, part deux &#124; Apparatus</dc:creator>
		<pubDate>Thu, 17 Sep 2009 16:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-56</guid>
		<description>[...] first time I conducted a performance test between Twisted.web and Tornado, the results were not very meaningful in retrospect.  I have three good reasons for redoing the [...]</description>
		<content:encoded><![CDATA[<p>[...] first time I conducted a performance test between Twisted.web and Tornado, the results were not very meaningful in retrospect.  I have three good reasons for redoing the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Name</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-55</link>
		<dc:creator>Name</dc:creator>
		<pubDate>Mon, 14 Sep 2009 11:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-55</guid>
		<description>If you&#039;re running Tornado on Mac OS X and not on Linux, you&#039;re using the select() backend and not the epoll backend.  Thus your performance numbers are heavily skewed against Tornado&#039;s strengths in terms of number of simultaneous connections it can support.&lt;br&gt;&lt;br&gt;Yes, it&#039;d be nice if it used libevent so that it could take advantage of kqueue, but it doesn&#039;t.</description>
		<content:encoded><![CDATA[<p>If you&#39;re running Tornado on Mac OS X and not on Linux, you&#39;re using the select() backend and not the epoll backend.  Thus your performance numbers are heavily skewed against Tornado&#39;s strengths in terms of number of simultaneous connections it can support.</p>
<p>Yes, it&#39;d be nice if it used libevent so that it could take advantage of kqueue, but it doesn&#39;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-54</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Mon, 14 Sep 2009 10:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-54</guid>
		<description>Apache benchmark is totally unrealistic. As well you should test a web framework when it is loaded up with apps.</description>
		<content:encoded><![CDATA[<p>Apache benchmark is totally unrealistic. As well you should test a web framework when it is loaded up with apps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: exarkun</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-53</link>
		<dc:creator>exarkun</dc:creator>
		<pubDate>Sun, 13 Sep 2009 15:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-53</guid>
		<description>I&#039;ve investigated this a bit further and what I found suggests that this behavior may result from the platform&#039;s use of syn cookies.  When I was initially unable to reproduce this, I was using Ubuntu Hardy, which disables syn cookies by default.  After some experimenting on Ubuntu Jaunty, after a tip from Thomas Herve, I was able to reproduce the problem (although only at a much higher concurrency level - around 500).  Jaunty enables syn cookies by default.  Then, returning to Hardy and enabling syn cookies, I was able to produce the behavior there.  I was also able to provoke this behavior from ab running against the Tornado server - which is perfectly sensible if this explanation is correct, since it&#039;s primarily do to something the platform TCP stack is doing, not something either Twisted or Tornado is doing.&lt;br&gt;&lt;br&gt;I haven&#039;t dug into this so deeply that I&#039;m entirely confident that this completely explains the behavior, but I think it&#039;s a pretty good start.  A direction for further investigation would be to write a client like ab but which reports more identifying information about each connection so that the failing connections can be traced through the entire network.&lt;br&gt;&lt;br&gt;One thing I&#039;m not sure about is whether OS X uses syn cookies.  Some web pages I&#039;ve found with Google suggest that it does, but it would be nice to get the information from a more authoritative/reliable source.</description>
		<content:encoded><![CDATA[<p>I&#39;ve investigated this a bit further and what I found suggests that this behavior may result from the platform&#39;s use of syn cookies.  When I was initially unable to reproduce this, I was using Ubuntu Hardy, which disables syn cookies by default.  After some experimenting on Ubuntu Jaunty, after a tip from Thomas Herve, I was able to reproduce the problem (although only at a much higher concurrency level &#8211; around 500).  Jaunty enables syn cookies by default.  Then, returning to Hardy and enabling syn cookies, I was able to produce the behavior there.  I was also able to provoke this behavior from ab running against the Tornado server &#8211; which is perfectly sensible if this explanation is correct, since it&#39;s primarily do to something the platform TCP stack is doing, not something either Twisted or Tornado is doing.</p>
<p>I haven&#39;t dug into this so deeply that I&#39;m entirely confident that this completely explains the behavior, but I think it&#39;s a pretty good start.  A direction for further investigation would be to write a client like ab but which reports more identifying information about each connection so that the failing connections can be traced through the entire network.</p>
<p>One thing I&#39;m not sure about is whether OS X uses syn cookies.  Some web pages I&#39;ve found with Google suggest that it does, but it would be nice to get the information from a more authoritative/reliable source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tofu</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-52</link>
		<dc:creator>Tofu</dc:creator>
		<pubDate>Sun, 13 Sep 2009 12:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-52</guid>
		<description>I didnt notice anything differnt and I thought that was odd too. I meant to run it again a few more times, but I figured I got the information that I wanted. That performance was not an issue between twisted and tornado. &lt;br&gt;&lt;br&gt;BTW, Dustin has started work on tornado with twisted support. &lt;a href=&quot;http://github.com/dustin/tornado/tree/master&quot; rel=&quot;nofollow&quot;&gt;http://github.com/dustin/tornado/tree/master&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I didnt notice anything differnt and I thought that was odd too. I meant to run it again a few more times, but I figured I got the information that I wanted. That performance was not an issue between twisted and tornado. </p>
<p>BTW, Dustin has started work on tornado with twisted support. <a href="http://github.com/dustin/tornado/tree/master" rel="nofollow">http://github.com/dustin/tornado/tree/master</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arek</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-51</link>
		<dc:creator>Arek</dc:creator>
		<pubDate>Sat, 12 Sep 2009 23:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-51</guid>
		<description>How did your test for 200 concurrent users come out: Twisted ~720 , Tornado ~430 . Then both hover around 700-800 requests per second for 100 and 50 concurrent users.&lt;br&gt;&lt;br&gt;That major difference during 200 simultaneous conns seems off . I did not see that happen on my machine. Is there anything you noticed during this test ?</description>
		<content:encoded><![CDATA[<p>How did your test for 200 concurrent users come out: Twisted ~720 , Tornado ~430 . Then both hover around 700-800 requests per second for 100 and 50 concurrent users.</p>
<p>That major difference during 200 simultaneous conns seems off . I did not see that happen on my machine. Is there anything you noticed during this test ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dkoepke</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-50</link>
		<dc:creator>dkoepke</dc:creator>
		<pubDate>Sat, 12 Sep 2009 17:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-50</guid>
		<description>There&#039;s a fast path for locally-directed packets. Matt&#039;s test, like finiteloop&#039;s, performed ab on a remote host. This is probably the difference you&#039;re seeing.</description>
		<content:encoded><![CDATA[<p>There&#39;s a fast path for locally-directed packets. Matt&#39;s test, like finiteloop&#39;s, performed ab on a remote host. This is probably the difference you&#39;re seeing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roder</title>
		<link>http://www.apparatusproject.org/blog/2009/09/twisted-web-vs-tornado-performance-test/comment-page-1/#comment-49</link>
		<dc:creator>roder</dc:creator>
		<pubDate>Sat, 12 Sep 2009 13:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.apparatusproject.org/blog/?p=342#comment-49</guid>
		<description>I&#039;ll try that again with httperf and let you know.  Good response btw.</description>
		<content:encoded><![CDATA[<p>I&#39;ll try that again with httperf and let you know.  Good response btw.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
