<?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: Elastic Load Balancer: An Elasticity Gotcha</title> <atom:link href="http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/feed" rel="self" type="application/rss+xml" /><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html</link> <description>Cloud Developer Tips: Practical tips for developers of cloud computing applications.</description> <lastBuildDate>Thu, 22 Jul 2010 02:24:54 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>By: High Availability Across Multiple Data Centers, Multihoming and EC2 &#124; Development, Analysis And Research</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-296</link> <dc:creator>High Availability Across Multiple Data Centers, Multihoming and EC2 &#124; Development, Analysis And Research</dc:creator> <pubDate>Sat, 29 May 2010 11:26:53 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-296</guid> <description>[...] Elastic Load Balancer: An Elasticity Gotcha (Caching DNS and ELB releasing IPs) and  Elastic Load Balancer is elastic &#8211; how the elasticity is achieved [...]</description> <content:encoded><![CDATA[<p>[...] Elastic Load Balancer: An Elasticity Gotcha (Caching DNS and ELB releasing IPs) and  Elastic Load Balancer is elastic &#8211; how the elasticity is achieved [...]</p> ]]></content:encoded> </item> <item><title>By: shlomo</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-236</link> <dc:creator>shlomo</dc:creator> <pubDate>Tue, 27 Apr 2010 15:31:29 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-236</guid> <description>@Drew,Please post back when you settle on a solution.</description> <content:encoded><![CDATA[<p>@Drew,</p><p>Please post back when you settle on a solution.</p> ]]></content:encoded> </item> <item><title>By: Drew</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-235</link> <dc:creator>Drew</dc:creator> <pubDate>Tue, 27 Apr 2010 15:20:07 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-235</guid> <description>Yes. We&#039;re using Apache because 1) legacy reasons, and 2) it performs server side includes in the response which are handled by Apache mod_include, mod_python, etc.Varnish is certainly a much better proxy solution, we&#039;re just not decoupled enough from our legacy (non-cloud) environment yet. :)We&#039;re testing out a few options right now.</description> <content:encoded><![CDATA[<p>Yes. We&#8217;re using Apache because 1) legacy reasons, and 2) it performs server side includes in the response which are handled by Apache mod_include, mod_python, etc.</p><p>Varnish is certainly a much better proxy solution, we&#8217;re just not decoupled enough from our legacy (non-cloud) environment yet. <img
src='http://blogstatic.shlomoswidler.com.s3.amazonaws.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>We&#8217;re testing out a few options right now.</p> ]]></content:encoded> </item> <item><title>By: shlomo</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-234</link> <dc:creator>shlomo</dc:creator> <pubDate>Tue, 27 Apr 2010 14:30:53 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-234</guid> <description>@Drew,I&#039;m not familiar with any way to control the TTL of Apache&#039;s DNS lookups.Have you considered using squid or varnish as a reverse proxy instead of apache?</description> <content:encoded><![CDATA[<p>@Drew,</p><p>I&#8217;m not familiar with any way to control the TTL of Apache&#8217;s DNS lookups.</p><p>Have you considered using squid or varnish as a reverse proxy instead of apache?</p> ]]></content:encoded> </item> <item><title>By: Drew</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-233</link> <dc:creator>Drew</dc:creator> <pubDate>Tue, 27 Apr 2010 13:59:25 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-233</guid> <description>Thanks, @Shlomo. I&#039;ve finally gotten to the bottom of this, and as you suspect, it is *not* an ELB issue (other than a desire to have fixed ELB IP addresses). Amazon&#039;s 1 hour delay is working as expected.We are proxying to the ELB from an Apache web server, and it turns out that Apache is secretly caching DNS lookups despite a short TTL on the underlying server and no obvious setting to enable, disable, or tweak this functionality in Apache. Any Apache process that happens to be running when an ELB IP is removes and continues to live longer than 1 hour may result in this situation.While I now understand the issue, I&#039;m currently looking for a solution... shortening Apache process lifespan, running Apache in worker mode, restarting Apache every hour... all would suffice. I&#039;m still hoping to find a magical Apache setting that will resolve this for me.Thanks for your input!</description> <content:encoded><![CDATA[<p>Thanks, @Shlomo. I&#8217;ve finally gotten to the bottom of this, and as you suspect, it is *not* an ELB issue (other than a desire to have fixed ELB IP addresses). Amazon&#8217;s 1 hour delay is working as expected.</p><p>We are proxying to the ELB from an Apache web server, and it turns out that Apache is secretly caching DNS lookups despite a short TTL on the underlying server and no obvious setting to enable, disable, or tweak this functionality in Apache. Any Apache process that happens to be running when an ELB IP is removes and continues to live longer than 1 hour may result in this situation.</p><p>While I now understand the issue, I&#8217;m currently looking for a solution&#8230; shortening Apache process lifespan, running Apache in worker mode, restarting Apache every hour&#8230; all would suffice. I&#8217;m still hoping to find a magical Apache setting that will resolve this for me.</p><p>Thanks for your input!</p> ]]></content:encoded> </item> <item><title>By: shlomo</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-232</link> <dc:creator>shlomo</dc:creator> <pubDate>Tue, 27 Apr 2010 09:45:39 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-232</guid> <description>@Drew,I do consider the issue with the ELB IP address being repurposed resolved, since the 1-hour delay before it can be reused by another ELB should be sufficient for all but the most egregiously broken DNS environments.It seems to me that the issue you&#039;re experiencing is not related to the ELB IP address, but rather to a different issue: the instance you originally registered in the ELB was not removed from the ELB when it shut down. The IP addresses of that instance remained in the load balancer pool, and when another user&#039;s instance was assigned those IP addresses, your ELB routed traffic there. As mentioned in the thread, fixing this problem is on the AWS roadmap, but - as usual - no timeframe is given.</description> <content:encoded><![CDATA[<p>@Drew,</p><p>I do consider the issue with the ELB IP address being repurposed resolved, since the 1-hour delay before it can be reused by another ELB should be sufficient for all but the most egregiously broken DNS environments.</p><p>It seems to me that the issue you&#8217;re experiencing is not related to the ELB IP address, but rather to a different issue: the instance you originally registered in the ELB was not removed from the ELB when it shut down. The IP addresses of that instance remained in the load balancer pool, and when another user&#8217;s instance was assigned those IP addresses, your ELB routed traffic there. As mentioned in the thread, fixing this problem is on the AWS roadmap, but &#8211; as usual &#8211; no timeframe is given.</p> ]]></content:encoded> </item> <item><title>By: Drew</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-230</link> <dc:creator>Drew</dc:creator> <pubDate>Mon, 26 Apr 2010 16:29:17 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-230</guid> <description>@Shlomo: Per SanD@AWS&#039;s note, it seems unlikely that an ELB IP would be pointed to someone else&#039;s site. Based on your understanding of this issue, do you consider it resolved?I ask because I have experienced this unpleasurable situation as recently as last week (http://developer.amazonwebservices.com/connect/message.jspa?messageID=175874#175874). I&#039;m wondering if I&#039;m barking up the wrong tree.</description> <content:encoded><![CDATA[<p>@Shlomo: Per SanD@AWS&#8217;s note, it seems unlikely that an ELB IP would be pointed to someone else&#8217;s site. Based on your understanding of this issue, do you consider it resolved?</p><p>I ask because I have experienced this unpleasurable situation as recently as last week (<a
href="http://developer.amazonwebservices.com/connect/message.jspa?messageID=175874#175874" rel="nofollow">http://developer.amazonwebservices.com/connect/message.jspa?messageID=175874#175874</a>). I&#8217;m wondering if I&#8217;m barking up the wrong tree.</p> ]]></content:encoded> </item> <item><title>By: Rick</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-174</link> <dc:creator>Rick</dc:creator> <pubDate>Mon, 22 Mar 2010 19:33:10 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-174</guid> <description>@Drew,I am experiencing this very issue with my ELB ever since March 5th.   It always worked before then, but since then, we&#039;ve been getting reports of stale caches every day.I know you say this is supposed to be fixed, but is it really fixed?  Is there anything that might cause this still?</description> <content:encoded><![CDATA[<p>@Drew,</p><p>I am experiencing this very issue with my ELB ever since March 5th.   It always worked before then, but since then, we&#8217;ve been getting reports of stale caches every day.</p><p>I know you say this is supposed to be fixed, but is it really fixed?  Is there anything that might cause this still?</p> ]]></content:encoded> </item> <item><title>By: The &#8220;Elastic&#8221; in &#8220;Elastic Load Balancing&#8221;: ELB Elasticity and How to Test it</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-96</link> <dc:creator>The &#8220;Elastic&#8221; in &#8220;Elastic Load Balancing&#8221;: ELB Elasticity and How to Test it</dc:creator> <pubDate>Sun, 07 Feb 2010 21:25:12 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-96</guid> <description>[...] that does this) beyond the defined TTL, traffic may be misdirected during ramp-up or ramp-down. See my article for a detailed [...]</description> <content:encoded><![CDATA[<p>[...] that does this) beyond the defined TTL, traffic may be misdirected during ramp-up or ramp-down. See my article for a detailed [...]</p> ]]></content:encoded> </item> <item><title>By: Drew</title><link>http://www.shlomoswidler.com/2009/08/elastic-load-balancer-elasticity-gotcha.html/comment-page-1#comment-69</link> <dc:creator>Drew</dc:creator> <pubDate>Mon, 25 Jan 2010 21:46:39 +0000</pubDate> <guid
isPermaLink="false">http://orchestratus.com/shlomoswidler.com/?p=28#comment-69</guid> <description>We&#039;ve been experiencing this very issue recently and I&#039;m glad to find an article that corroborates my theory. Thanks for posting, Shlomo.</description> <content:encoded><![CDATA[<p>We&#39;ve been experiencing this very issue recently and I&#39;m glad to find an article that corroborates my theory. Thanks for posting, Shlomo.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 7/25 queries in 0.008 seconds using disk
Content Delivery Network via Amazon Web Services: S3: blogstatic.shlomoswidler.com.s3.amazonaws.com

Served from: www.shlomoswidler.com @ 2010-08-01 00:14:46 -->