<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
  <title>Optimize Prime  - Comments</title>
  <link>http://blog.emmettshear.com/</link>
  
  <description />
  <language>en</language>
  <pubDate>Fri, 19 Jun 2009 06:22:21 -0400</pubDate>
  <copyright />
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
    
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/OptimizePrime-Comments" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
    <title>Don't use Pound for load balancing - xufeng</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c8522667</link>
    <guid isPermaLink="false">urn:md5:c51ae0b4d5f71eda0718b07c5983e455</guid>
    <pubDate>Fri, 19 Jun 2009 02:22:21 -0400</pubDate>
    <dc:creator>xufeng</dc:creator>
    
    <description>&lt;p&gt;LVS is a layer 4 loadbalancing solution whereas nginx acts as a layer 7 (app
layer) proxy.They are different.LVS is great in performance and nginx is better
in its flexible controling over its backend servers.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - Emre Sokullu</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c8406416</link>
    <guid isPermaLink="false">urn:md5:69dfe3f19bf17a950a8a3499b615f336</guid>
    <pubDate>Thu, 29 Jan 2009 17:04:54 -0500</pubDate>
    <dc:creator>Emre Sokullu</dc:creator>
    
    <description>&lt;p&gt;+1&lt;/p&gt;
&lt;p&gt;At GROU.PS we used Pound and it was terrible! It starts melting at 1500
connections. It's old. I read something similar at a Wordpress.com developer
blog too. Nginx looks pretty good, we've recently started experimenting with
it. Thanks for sharing your experiences, it's good to know what others are
doing.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't compile Hadoop more than once: Shutting down. Incompatible buildVersion. - SD</title>
    <link>http://blog.emmettshear.com/post/2008/10/10/Don-t-compile-Hadoop-more-than-once%3A-Shutting-down-Incompatible-buildVersion#c8402414</link>
    <guid isPermaLink="false">urn:md5:4b10e34145eabe69b854488e9b8b6086</guid>
    <pubDate>Fri, 23 Jan 2009 13:25:55 -0500</pubDate>
    <dc:creator>SD</dc:creator>
    
    <description>&lt;p&gt;I had the same problem with Hadoop 0.19.0 and solved it using your approach.
Thanks! This seems awfully brittle. I hope newer versions do not have this
constraint.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - T</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c8398335</link>
    <guid isPermaLink="false">urn:md5:78e88a5bbbdec9f2f9f13185bc5f9e2c</guid>
    <pubDate>Fri, 16 Jan 2009 13:17:03 -0500</pubDate>
    <dc:creator>T</dc:creator>
    
    <description>&lt;p&gt;It sounds like you are running load balancing on the same server you are
using to handle web requests.&lt;/p&gt;
&lt;p&gt;That's not what Pound was intended for, and it's not a recommendable
solution. Load balancer should run on a different, dedicated machine. In that
config, performance should not be an issue. If your server is also a load
balancer, you are doubly screwed if the server has problems, is DOS overloaded,
etc.&lt;br /&gt;
-t&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't compile Hadoop more than once: Shutting down. Incompatible buildVersion. - Amaltas</title>
    <link>http://blog.emmettshear.com/post/2008/10/10/Don-t-compile-Hadoop-more-than-once%3A-Shutting-down-Incompatible-buildVersion#c8386206</link>
    <guid isPermaLink="false">urn:md5:eec8db810c87e42ad7965f1e989894f2</guid>
    <pubDate>Sun, 28 Dec 2008 02:39:03 -0500</pubDate>
    <dc:creator>Amaltas</dc:creator>
    
    <description>&lt;p&gt;I exprienced the same issues, using the same build fixed the issue.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't compile Hadoop more than once: Shutting down. Incompatible buildVersion. - Amaltas</title>
    <link>http://blog.emmettshear.com/post/2008/10/10/Don-t-compile-Hadoop-more-than-once%3A-Shutting-down-Incompatible-buildVersion#c8386205</link>
    <guid isPermaLink="false">urn:md5:d25fba1be1fb30d089fe3f96bbbb0b1a</guid>
    <pubDate>Sun, 28 Dec 2008 02:39:01 -0500</pubDate>
    <dc:creator>Amaltas</dc:creator>
    
    <description>&lt;p&gt;I exprienced the same issues, using the same build fixed the issue.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - Lou</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c8368248</link>
    <guid isPermaLink="false">urn:md5:3b42b16c0e1a75da541b540ba757af45</guid>
    <pubDate>Sat, 29 Nov 2008 12:22:09 -0500</pubDate>
    <dc:creator>Lou</dc:creator>
    
    <description>&lt;p&gt;I just spent a few hours reading about Pen and Pound. NGinx sounds like a
good solutions, though I have to deal with SSL. Will explore it some more as
well as Crossroads mentioned in a post.&lt;/p&gt;
&lt;p&gt;- Lou&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - Rene</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c8344253</link>
    <guid isPermaLink="false">urn:md5:313beac419e51424cb0b1682b0ab379f</guid>
    <pubDate>Sun, 26 Oct 2008 18:26:10 -0400</pubDate>
    <dc:creator>Rene</dc:creator>
    
    <description>&lt;p&gt;We are using crossroads (&lt;a href="http://crossroads.e-tunity.com" title="http://crossroads.e-tunity.com" rel="nofollow"&gt;http://crossroads.e-tunity.com&lt;/a&gt;) for our
load balancers. It's much faster and has a lot of advanced features like access
control and dos prevention.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Google Ownz Me - haiz</title>
    <link>http://blog.emmettshear.com/post/2007/04/09/Google-Ownz-Me#c8337361</link>
    <guid isPermaLink="false">urn:md5:a8aacdf6aacd97fc4bf2e59990659b4e</guid>
    <pubDate>Wed, 15 Oct 2008 11:48:45 -0400</pubDate>
    <dc:creator>haiz</dc:creator>
    
    <description>&lt;p&gt;ROFL PWNT BY GOOGLE&lt;/p&gt;
&lt;p&gt;dis iz grandpa1337&lt;br /&gt;
kthxbai&lt;/p&gt;
&lt;p&gt;-grandpa1337&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Shortest parser - Gojomo</title>
    <link>http://blog.emmettshear.com/post/2008/08/23/Shortest-parser#c8305050</link>
    <guid isPermaLink="false">urn:md5:f93c800407a5abbea15bf9a0ab29f757</guid>
    <pubDate>Sun, 24 Aug 2008 16:34:40 -0400</pubDate>
    <dc:creator>Gojomo</dc:creator>
    
    <description>&lt;p&gt;If you don't mind a regex-heavy approach, here's a single-method version in
Ruby that handles precedence correctly and maintains the ability to pass in
(single-character, precedence-grouped) operators:&lt;/p&gt;
&lt;p&gt;&amp;lt;code&amp;gt;&lt;br /&gt;
def in_to_pre_fix(expr, opers=%w(*/ +-))&lt;br /&gt;
token = &amp;quot;\\s*(?:(?:&amp;lt;([^&amp;gt;]+)&amp;gt;)|([\\d]+))\\s*&amp;quot;&lt;br /&gt;
while expr !~ /^&amp;lt;[^&amp;gt;]*&amp;gt;$/ and expr.sub!(/(?:^|\()([^)(]*)(?:\)|$)/) {
| m |&lt;br /&gt;
opers.each { | oper |&lt;br /&gt;
while m.sub!(Regexp.new(&amp;quot;#{token}([#{Regexp.quote(oper)}])#{token}&amp;quot;),&lt;br /&gt;
'&amp;lt;\3 \1\2 \4\5&amp;gt;'); end }&lt;br /&gt;
m.tr_s(&amp;quot;() &amp;quot;,&amp;quot; &amp;quot;).strip() }; end&lt;br /&gt;
expr.delete(&amp;quot;&amp;lt;&amp;gt;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/p&gt;
&lt;p&gt;I'm new to Ruby, so this may not be typical idiom or whitespace.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Shortest parser - Alejandro Atienza</title>
    <link>http://blog.emmettshear.com/post/2008/08/23/Shortest-parser#c8304621</link>
    <guid isPermaLink="false">urn:md5:b98ce576bb005097265f0661f3180ba7</guid>
    <pubDate>Sun, 24 Aug 2008 10:01:45 -0400</pubDate>
    <dc:creator>Alejandro Atienza</dc:creator>
    
    <description>&lt;p&gt;Anon, you don't need parenthesis if you consider each operand as binary,
like in + 1 + 2 + 3 4, but here they are making them n-ary, as in (+ 1 2 3 4).
That way you need parenthesis to delimit the scope of the operand.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Shortest parser - Anon</title>
    <link>http://blog.emmettshear.com/post/2008/08/23/Shortest-parser#c8304298</link>
    <guid isPermaLink="false">urn:md5:df3685b0725100c408326a33b4583c9a</guid>
    <pubDate>Sun, 24 Aug 2008 04:18:21 -0400</pubDate>
    <dc:creator>Anon</dc:creator>
    
    <description>&lt;p&gt;I thought you didn't need parans. Isn't that the whole point of prefix or
postfix expressions. So compilers don't face ambiguity when it comes to
evaluating expressions?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.allinterview.com/showanswers/10667.html" title="http://www.allinterview.com/showanswers/10667.html" rel="nofollow"&gt;http://www.allinterview.com/showans...&lt;/a&gt;&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Shortest parser - a different anon</title>
    <link>http://blog.emmettshear.com/post/2008/08/23/Shortest-parser#c8303994</link>
    <guid isPermaLink="false">urn:md5:ccefa436c977cbb2eb26c8b4f4313a77</guid>
    <pubDate>Sun, 24 Aug 2008 01:42:41 -0400</pubDate>
    <dc:creator>a different anon</dc:creator>
    
    <description>&lt;p&gt;no, the order of operations is wrong. it should result in&lt;/p&gt;
&lt;p&gt;&amp;quot;(+ 2 (/ (* 4 45) 2) 9)&amp;quot;&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Shortest parser - Anonymous Coward</title>
    <link>http://blog.emmettshear.com/post/2008/08/23/Shortest-parser#c8303622</link>
    <guid isPermaLink="false">urn:md5:35de83ce0d02cb528809b0025849867d</guid>
    <pubDate>Sat, 23 Aug 2008 22:12:36 -0400</pubDate>
    <dc:creator>Anonymous Coward</dc:creator>
    
    <description>&lt;p&gt;That seems to be working as intended. 2+(4*(45/2))+9&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Shortest parser - anonymouse</title>
    <link>http://blog.emmettshear.com/post/2008/08/23/Shortest-parser#c8303602</link>
    <guid isPermaLink="false">urn:md5:f9147fe25147091f4f5df0993ffc43cd</guid>
    <pubDate>Sat, 23 Aug 2008 21:51:35 -0400</pubDate>
    <dc:creator>anonymouse</dc:creator>
    
    <description>&lt;p&gt;buggy code...&lt;/p&gt;
&lt;p&gt;irb(main):022:0&amp;gt; parse_simple(&amp;quot;2+4 * 45 / 2 + 9&amp;quot;)&lt;br /&gt;
=&amp;gt; &amp;quot;(+ 2 (* 4 (/ 45 2)) 9)&amp;quot;&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - Emmett Shear</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c8298416</link>
    <guid isPermaLink="false">urn:md5:95811dd4433c38ffb521cbc09f4d80f9</guid>
    <pubDate>Thu, 21 Aug 2008 12:35:58 -0400</pubDate>
    <dc:creator>Emmett Shear</dc:creator>
    
    <description>&lt;p&gt;The distinction between a web server and a load balancer like Pound is
trivial. Nginx can do everything pound can do (balance incoming requests across
backends) and many more things (serve files, do complex access control,
etc.).&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - vietwow</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c8297669</link>
    <guid isPermaLink="false">urn:md5:e25a185142f8f86ed26b4e5338afd7ce</guid>
    <pubDate>Thu, 21 Aug 2008 04:18:41 -0400</pubDate>
    <dc:creator>vietwow</dc:creator>
    
    <description>&lt;p&gt;Why you think Nginx is a good replacement for pound ? Pound is Load balancer
(like LVS), and Nginx is a web server (like apache, IIS ...). I don't think
they have any relationship ?&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - Friend</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c7875493</link>
    <guid isPermaLink="false">urn:md5:cbb3b5cb36f978f36d6820233f565d35</guid>
    <pubDate>Thu, 01 May 2008 06:45:41 -0400</pubDate>
    <dc:creator>Friend</dc:creator>
    
    <description>&lt;p&gt;I use nginx as back-end and it works great :)&lt;/p&gt;
&lt;p&gt;Thanks for graphs with pound!&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - Emmett Shear</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c6643001</link>
    <guid isPermaLink="false">urn:md5:0db55ca0e034434dde7a51f98255f763</guid>
    <pubDate>Tue, 04 Mar 2008 12:33:33 -0500</pubDate>
    <dc:creator>Emmett Shear</dc:creator>
    
    <description>&lt;p&gt;Thanks Jason...I'll look into using that plugin.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Don't use Pound for load balancing - anon</title>
    <link>http://blog.emmettshear.com/post/2008/03/03/Dont-use-Pound-for-load-balancing#c6640387</link>
    <guid isPermaLink="false">urn:md5:4934c20141efb11a31135968e6f68fec</guid>
    <pubDate>Tue, 04 Mar 2008 04:44:46 -0500</pubDate>
    <dc:creator>anon</dc:creator>
    
    <description>&lt;p&gt;We are using LVS for loadbalancing and it seems that it almost doesn't need
any cpu time at all, even at peaks it doesnt go over 5% (on a P4 3Ghz) and
peaks are like 2K requests per second.&lt;/p&gt;</description>
  </item>
      
</channel>
</rss>
