<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Load Balancing Digest</title>
	<atom:link href="http://lbdigest.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lbdigest.com</link>
	<description>Server Load Balancing Articles and News</description>
	<lastBuildDate>Thu, 12 Aug 2010 23:32:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SSL: Who Do You Trust?</title>
		<link>http://lbdigest.com/2010/08/11/ssl-who-do-you-trust/</link>
		<comments>http://lbdigest.com/2010/08/11/ssl-who-do-you-trust/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 20:23:09 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Feature Articles]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=473</guid>
		<description><![CDATA[One of the most important technologies used in the modern Internet is the TLS/SSL protocol (typically called just SSL, but that’s a whole different article).  The two benefits that TLS/SSL gives us are privacy and trust. Privacy comes through the use of digital encryption (RSA,...]]></description>
			<content:encoded><![CDATA[<p>One of the most important technologies used in the modern Internet is the <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security">TLS/<strong>SSL</strong></a> protocol (typically called just <strong>SSL</strong>, but that’s a whole different article).  The two benefits that TLS/<strong>SSL</strong> gives us are <em>privacy</em> and <em>trust</em>.</p>
<p>Privacy comes through the use of digital encryption (RSA, AES, etc.)  to keep your web interactions, such as credit card numbers, emails,  passwords, confidential documents, etc., safe from prying eyes.</p>
<p>But having private communications with another party is all for  naught if you’re talking to the wrong party.  You also need trust.   Trust that someone is who they say they are. For Internet commerce to  work on a practical level, you need to able to trust that when you’re  typing your username and password into your bank’s website, that you’re  actually connecting to a bank, and not someone pretending to be your  bank.</p>
<p>Trust is accomplished through the use of SSL certificates, CAs (certificate authorities), intermediate certificates, and certificate chains which combined is known as <a href="http://en.wikipedia.org/wiki/Public_key_infrastructure">PKI (Public Key Infrastructure)</a>.    To elaborate on the use of these technologies to provide trust, I’m  going to forgo the traditional Bob and Alice encryption examples, and go  for something a little closer to your heart.  I’m going to drop some <strong>Star</strong> <strong>Trek</strong> on you.</p>
<p>Let’s say you’re in the market for a starship.  You’re looking for a  sporty model with warp drive, heated seats, and most importantly, a  holodeck. You go to your local Starfleet dealer, and you find this guy.</p>
<p>Ensign Tony.</p>
<p style="text-align: center;"><a href="http://lbdigest.com/wp-content/uploads/2010/08/ensigntony-300x228.jpg"><img class="aligncenter size-full wp-image-474" title="ensigntony-300x228" src="http://lbdigest.com/wp-content/uploads/2010/08/ensigntony-300x228.jpg" alt="" width="300" height="228" /></a><em>Seriously Tony, how do you get girls to even talk to you?</em></p>
<p style="text-align: left;">The problem is, you don’t trust this guy.  It’s nothing personal, but  you just don’t know him. He says he’s Ensign Tony, but you have no idea  if it’s really him or  not.  But there is one Starfleet officer you do  know and trust implicitly, even though you never met him.  You trust  Captain Jean-Luc Picard.</p>
<p style="text-align: center;"><a href="http://lbdigest.com/wp-content/uploads/2010/08/picard.jpg"><img class="aligncenter size-full wp-image-475" title="picard" src="http://lbdigest.com/wp-content/uploads/2010/08/picard.jpg" alt="" width="292" height="356" /></a><em>If there’s a problem a peace negotiation can’t solve, I haven’t met it yet</em></p>
<p>Captain Picard is the kind of guy you <em>start out</em> automatically trusting.  His reputation precedes him. Your browser is  the same way, in that right out of the gate there are several sources  (such as Verisign) that your browser trusts implicitly.</p>
<p>But you’re not dealing with Picard directly.  Instead, you’re dealing  with Ensign Tony.  So Picard vouches for Ensign Tony, and thus a trust  chain is built.   You trust Picard, and Picard trusts Ensign Tony, so by  the transitive property, you can now trust Ensign Tony.</p>
<p>Whether it’s Internet Explorer, Firefox, Safari, Chrome, Opera, or  other browsers, they come built-in trusting a number of sources.</p>
<p><strong>Intermediate Certificates</strong></p>
<p>One of the lesser understood concepts in the us of SSL certificates is the intermediate certificates.  These are certificates  that sit between the CA (Picard) and the site certificate (Ensign Tony).</p>
<p>You see, Picard is an important man.  The Enterprise has over a  thousand crew members and he can’t possibly personally know and trust  all of them.  (In Ensign Tony’s case, there’s also the little matter of a  restraining order.)  So he farms the trust out to his subordinates. And  one crew member he does implicitly trust is Chief Engineer Geordi La  Forge.</p>
<p><a href="http://lbdigest.com/wp-content/uploads/2010/08/99problemsjordi-300x229.jpg"><img class="aligncenter size-full wp-image-476" title="99problemsjordi-300x229" src="http://lbdigest.com/wp-content/uploads/2010/08/99problemsjordi-300x229.jpg" alt="" width="300" height="229" /></a></p>
<p style="text-align: center;"><em>I have not clever caption for this image, as it is perfect.</em></p>
<p>Ensign Tony works for Geordi, and Geordi trusts Ensign Tony.   Thus  Geordi becomes the intermediate certificate.  You can’t trust Ensign  Tony directly through Picard because Picard can’t vouch for Tony, but  Geordi can vouch fro Tony, and Picard can vouch for Geordi, so we have  built a chain of trust.   This is why load balancers and web servers  often require you to install an intermediate certificate.</p>
<p><a href="http://lbdigest.com/wp-content/uploads/2010/08/trustchain.png"><img class="aligncenter size-full wp-image-477" title="trustchain" src="http://lbdigest.com/wp-content/uploads/2010/08/trustchain.png" alt="" width="505" height="907" /></a></p>
<p style="text-align: center;"><em><em>This may be the greatest SSL diagram ever made.</em></em></p>
<p>Here’s what happens when you don’t install an intermediate certificate onto your load balancer/ADC/web server:</p>
<p><a href="http://lbdigest.com/wp-content/uploads/2010/08/nochain.png"><img class="aligncenter size-full wp-image-478" title="nochain" src="http://lbdigest.com/wp-content/uploads/2010/08/nochain.png" alt="" width="560" height="692" /></a></p>
<p style="text-align: center;"><em>You’re 33 years old Tony, you’d think you would have made Lieutenant by now</em></p>
<p>One of the practical issues that comes up with intermediate certificates is which one do you use?  The various SSL certificate vendors such as Thawte, Digicert, and Verisign have several  intermediate certificates depending on the type of certificate you  purchase. Sometimes it’s not always obvious.  If you have any doubts,  use one of the SSL certificate validation tools from the various vendors , including this one by <a href="http://www.digicert.com/help">Digicert</a>.  It will tell you if the certificate chain works or not. Do <em>not</em> let a test from your browser determine whether your certificate works.   Browsers handle certs differently, and a validation tool will tell you  if it will work with all browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2010/08/11/ssl-who-do-you-trust/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Is The Cloud? The Cloud Is Shit I Don&#8217;t Care About</title>
		<link>http://lbdigest.com/2010/08/10/what-is-the-cloud-the-cloud-is-shit-i-dont-care-about/</link>
		<comments>http://lbdigest.com/2010/08/10/what-is-the-cloud-the-cloud-is-shit-i-dont-care-about/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 01:23:38 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=466</guid>
		<description><![CDATA[There are lots of conflicting definitions of The Cloud out there, and the debate as to what exactly is The Cloud rages (Larry Ellison, CEO of Oracle and top contender for super villain has a great rant on the subject here).  To be honest, I...]]></description>
			<content:encoded><![CDATA[<p>There are lots of conflicting definitions of The Cloud out there, and the debate as to what exactly is The Cloud rages (Larry Ellison, CEO of Oracle and top contender for super villain has a <a href="http://www.youtube.com/watch?v=8UYa6gQC14o">great rant on the subject here</a>).  To be honest, I had no clue what the cloud was, until I was hit with a moment of inspiration:  There are two aspects of technology anyone working with it is concerned with (ala the upcoming CBS Sitcom #@!$ My Dad Says): Shit I Care About &#8482;, and Shit I Don&#8217;t Care About &#8482;.  It&#8217;s the stuff you&#8217;re responsible for, versus the stuff someone else is responsible for.</p>
<p><a href="http://lbdigest.com/wp-content/uploads/2010/08/shiticareabout.png"><img class="aligncenter size-medium wp-image-467" title="shiticareabout" src="http://lbdigest.com/wp-content/uploads/2010/08/shiticareabout-300x116.png" alt="" width="300" height="116" /></a></p>
<p>When using Visio to do a network diagram, there is almost always the ubiquitous cloud icon.   The cloud represents the rest of the Internet typically, with no detail other than &#8220;The Internet&#8221;.  The Internet is of course a ton of detail.  Routing protocols, IP packets, WAN links, interconnects, hundreds of thousands of network devices making sure IP traffic gets from point A to point B.</p>
<p>But unless you&#8217;re a network administrator, you don&#8217;t care.  And even if you are a network administrator, you only care about your little piece of the Internet.   The rest of it is there, but it&#8217;s someone else&#8217;s responsibility to make sure it works.  You don&#8217;t need to concern yourself with the details.  The Internet is a cloud, full of Shit You Don&#8217;t Care About.</p>
<p>Technology in a way is a continual process of making more and more of the technical world Shit I Don&#8217;t Care About.  A few decades ago, programmers needed to know machine language to get anything done.  This gave rise to assembly language, and that begat C and other low level languages, to Java, PHP, and Perl.   Each step up abstracts more and more of the base technology. Perl and PHP, for instance, turn memory pointers into Shit I Don&#8217;t Care About anymore.</p>
<p>Arthur C. Clarke, a novelist known for his incredible insight into technology&#8217;s affect on the future (he proposed the idea of geosynchronous orbit satellites, have you heard of them?) mention this phenomenon in his book <em>3001: The Final Odyssey. <strong> </strong><span style="font-style: normal;">In the book, </span></em> the chief engineer of the inter-planetary vessel <em>Goliath </em>can&#8217;t explain to the to protagonist Frank Poole much about the inner workings of the ship (Scottie would be appalled!).  The evolution of space craft had made them so incredibly complex (and automated) that only the basic operation needed to be (or could be) understood by its operators.</p>
<p>The iPad and the newest generation of smartphones are devices that transition a layer of Shit I Care About into the realm of Shit I Don&#8217;t Care About: Namly the desktop, drivers, and the concept of a PC desktop.</p>
<p>So that&#8217;s what The Cloud is; it&#8217;s Shit I Don&#8217;t Care About.  There&#8217;s some type of interface for interaction, (HTTP for web apps, APIs for data retrieval, etc.) and then there&#8217;s a bunch of shit behind the scenes that I don&#8217;t care about.  Or at least, that&#8217;s my definition of The Cloud (among thousands of conflicting definitions).</p>
<p>For instance, does your website run Linux or Windows?  Do your users care?  Most likely not.  They&#8217;re not going to interact with the OS, so why would they care? It&#8217;s Shit They Don&#8217;t Care About.   Oracle or Microsoft SQL?  Again, I don&#8217;t care.  Just as I don&#8217;t care if the plane I&#8217;m flying on is an Airbus 320 or a Boeing 737.</p>
<p>So Cloud Computing is the act of transitioning infrastructure I used to care about into the realm of Shit I Don&#8217;t Care About.  Servers, storage, networking, etc.  If I can transition Shit I Care About into Shit I Don&#8217;t Care About, I can concentrate on some New Shit.</p>
<p>Cloud Computing is transitioning Shit I Care About into Shit I Don&#8217;t Care About so I can spend time on New Shit.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2010/08/10/what-is-the-cloud-the-cloud-is-shit-i-dont-care-about/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tony, You Idiot</title>
		<link>http://lbdigest.com/2010/08/10/tony-you-idiot/</link>
		<comments>http://lbdigest.com/2010/08/10/tony-you-idiot/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 21:19:36 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Feature Articles]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=462</guid>
		<description><![CDATA[Wondering WTF happened?  Wondering why we seemed to have gone back in time?  Well, the explanation is rather simple. I&#8217;m an idiot. I migrated from one hosting system to another.  I run regular backups of my MySQL database. Well, apparently there was a field in...]]></description>
			<content:encoded><![CDATA[<p>Wondering WTF happened?  Wondering why we seemed to have gone back in time?  Well, the explanation is rather simple.</p>
<p>I&#8217;m an idiot.</p>
<p>I migrated from one hosting system to another.  I run regular backups of my MySQL database.</p>
<p>Well, apparently there was a field in one of the wordpress databases that the mysql backup application didn&#8217;t like.   So as it dumped the contents of the database, it hit this particular record and then stopped.  So the backups are frozen in time.</p>
<p>By the time I figured this out, I had purged all the data off my old server.</p>
<p>Woops.</p>
<p style="text-align: center;"><a href="http://lbdigest.com/wp-content/uploads/2010/08/picard-facepalm.jpg"><img class="aligncenter size-medium wp-image-463" title="picard-facepalm" src="http://lbdigest.com/wp-content/uploads/2010/08/picard-facepalm-300x197.jpg" alt="" width="300" height="197" /></a><em>Ensign Tony, Didn&#8217;t Anyone Tell You To Test Those Backups?</em></p>
<p>I&#8217;ll be reconstructing the old articles as best I can.  But for now, enjoy Picard&#8217;s epic facepalm.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2010/08/10/tony-you-idiot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cavium Buys MontaVista Linux</title>
		<link>http://lbdigest.com/2009/11/13/cavium-buys-montavista-linux/</link>
		<comments>http://lbdigest.com/2009/11/13/cavium-buys-montavista-linux/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 22:44:31 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=458</guid>
		<description><![CDATA[Cavium is a company that makes network processor chips, and is probably best known in the load balancing world as the company that makes the SSL ASICs that power a lot of the products out there. Recently Cavium purchased MontaVista for $50 million.Â  More at...]]></description>
			<content:encoded><![CDATA[<p>Cavium is a company that makes network processor chips, and is probably best known in the load balancing world as the company that makes the SSL ASICs that power a lot of the products out there.</p>
<p>Recently Cavium purchased MontaVista for $50 million.Â  More at <a href="http://moblinzone.com/blog/769/37/Another_Linux_device_company_acquired">moblinzone</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/11/13/cavium-buys-montavista-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KEMP Releases LoadMaster 5.0 Firmware</title>
		<link>http://lbdigest.com/2009/11/13/kemp-releases-loadmaster-5-0-firmware/</link>
		<comments>http://lbdigest.com/2009/11/13/kemp-releases-loadmaster-5-0-firmware/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:36:53 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=454</guid>
		<description><![CDATA[KEMP Technologies released the 5.0 LoadMaster firmware for LoadMaster 2000 and above models on Tuesday.Â  It brings VLAN trunking (802.1Q) as well as Etherchannel to the LoadMaster series. Not as prominent in the press release, but I personally think is the neatest feature, is the...]]></description>
			<content:encoded><![CDATA[<p>KEMP Technologies<a href="http://kemptechnologies.com/pr/11-10-09.shtml"> released the 5.0 LoadMaster firmware</a> for LoadMaster 2000 and above models on Tuesday.Â  It brings VLAN trunking (<a href="http://en.wikipedia.org/wiki/802.1q">802.1Q</a>) as well as <a href="http://en.wikipedia.org/wiki/EtherChannel">Etherchannel</a> to the LoadMaster series.</p>
<p>Not as prominent in the press release, but I personally think is the neatest feature, is the dynamic transparency.Â  Transparency is when the source IP address of the client is maintained, which is the default method for most load balancer.Â  The LoadMaster&#8217;s non-transparency is probably known more commonly in the industry as Source NAT, or SNAT.Â  This is when the client&#8217;s IP address is replaced by an IP on the load balancer.</p>
<p>When preserving the true source IP address of your clients, you cannot have clients on the same network as your servers.Â  This is sometimes referred to as &#8220;the same subnet problem&#8221;.Â  The cause of this is that the traffic needs to pass through the load balancer on the way out.Â  If the client is on the same subnet as the servers, the servers reply directly to the client, rather through the load balancer.</p>
<p>The solution for the same subnet problem is usually to enable SNAT/non-transparency, but you lose the true source IP address of your clients, so the web server logs will show everyone coming from one address.</p>
<p>The higher-end load balancers have the ability to do <a href="http://lbdigest.com/2009/03/11/best-of-both-worlds-selective-source-nat/">selective SNAT</a>, and now KEMP has the ability to do selective SNAT automatically. I&#8217;ve yet to see it in action, so I can&#8217;t attest to how well it works,Â  but it&#8217;s potentially a very nice feature.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/11/13/kemp-releases-loadmaster-5-0-firmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guess Who&#8217;s Back? Hint: Alteon</title>
		<link>http://lbdigest.com/2009/11/09/guess-whos-back-hint-alteon/</link>
		<comments>http://lbdigest.com/2009/11/09/guess-whos-back-hint-alteon/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 20:17:55 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=449</guid>
		<description><![CDATA[When Radware purchased the remnants of the once great Alteon line, many thought they were simply buying the customer list and were going to abandon the platform entirely.Â  Radware insisted at the time this was not the case, but there was the usual (and understandable)...]]></description>
			<content:encoded><![CDATA[<p>When Radware <a href="http://www.eweek.com/c/a/Enterprise-Networking/Radware-to-Buy-Nortels-Alteon-App-Delivery-Division/">purchased the remnants of the once great Alteon line</a>, many thought they were simply buying the customer list and were going to abandon the platform entirely.Â  Radware insisted at the time this was not the case, but there was the usual (and understandable) skepticism.Â  After all, Alteon languished in the arms of the deteriorating Nortel. (Although the old Alteon hardware &#8212; such as the AD3 and 180E &#8212; thrived as a used ecosystem on eBay, despite the lack of vendor support.)</p>
<p>But it seems Radware has made good on their promise to keep up the Alteon line, although in slightly different form.Â  They&#8217;ve released the Alteon 5412, a 20-Gigabit Layer 7 device (web acceleration and SSL promised for mid-2010).Â Â  It&#8217;s the Alteon software running on top of their OnDemand Switch 3 switching platform. Since the acquisition,Â  they have also released two maintenance releases of the Alteon OS for the previous platforms.Â  So it seems they&#8217;re making good on their promise.</p>
<p>Check out the press releases and promo site (<a href="http://www.alteonisback.com">bringing back Alteon marketing materials even</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/11/09/guess-whos-back-hint-alteon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tales of Load Balancing Horror</title>
		<link>http://lbdigest.com/2009/10/29/tales-of-horrors/</link>
		<comments>http://lbdigest.com/2009/10/29/tales-of-horrors/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 21:03:33 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Editorial]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=434</guid>
		<description><![CDATA[It&#8217;s halloween, and I think it&#8217;s time for some scary stories.Â  I give you&#8230; TALES OF LOAD BALANCING HORRORS! For tales of persistent terror, challenging your keep-alive, I give you the following vignettes. (Names have been changed to protect my ass, as well as to...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s halloween, and I think it&#8217;s time for some scary stories.Â  I give you&#8230;</p>
<p>TALES OF LOAD BALANCING HORRORS!</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-447" title="chassis-keeper" src="http://lbdigest.com/wp-content/uploads/2009/10/chassis-keeper1-300x224.jpg" alt="chassis-keeper" width="300" height="224" /></p>
<p>For tales of persistent terror, challenging your keep-alive, I give you the following vignettes. (Names have been changed to protect my ass, as well as to punch up some bone dry material.)</p>
<h3>The Default Gateway To The Abandoned Zone</h3>
<p>Several years ago, on a dark and stormy night, a dashingly handsome young hot-shot system administrator had just finished setting up a new web infrastructure for a client.Â  They were moving their web infrastructure from their own facility, to the co-location facility where Mr. Sysadmin worked.Â  Mr Sysadmin was also responsible for the load balancer.Â  Running bravely into the load balancing realm while both the other sysadmins and the network admins dared not tread.</p>
<p>&#8220;It&#8217;s cursed!&#8221; They said.Â  Or maybe they used curse words to describe it.Â  It was a long time ago.</p>
<p>He powered up the system, tested the traffic, and cried out into the night &#8220;It&#8217;s alive! It&#8217;s pushing traffic!&#8221;Â  Overly pleased with his unnatural creation, he emailed the client to tell them their configuration was ready.Â  They moved in, with administrator access to all systems.</p>
<p>At first, the infrastructure worked as promised.Â  Sites were served, and loads were balanced.Â  Then, a call came from beyond the datacenter.</p>
<p>&#8220;The load balancer is screwing up. The site is down.&#8221; said the customer.Â  From beyond the data center.</p>
<p>Our hero was not convinced.Â  Many plagues have been blamed upon the load balancer, only to later find out the culprit was elsewhere.Â  So he punched up the website, and sure enough, nothing. He logged into the load balancer, and found it to be operating correctly, with no changes from when it was working.Â  He then checked the servers.Â  And there was the problem.</p>
<p>He shot up from his haunted Aeron chair.Â  &#8220;By Zeus, the default gateway has been changed!&#8221;</p>
<p>For you see, as traffic comes into the load balancer, it must also return through the load balancer on the way out.Â  This is the way of things.Â  This can be done a number of ways, and the method chosen for this infrastructure was by making the load balancer the default gateway.Â  But when someone changes the default gateway to a device other than the load balancer, the packets are doomed to wander the network, never to find their destination.Â  They were damend to the bit bucket.</p>
<p>So our mad sysadmin (he was pretty mad,Â  as he had specifically instructed them not to change the default gateway) changed the default gateways correctly, so that more packets would not suffer the same ghastly fate.Â  Once this task had been completed, the packets found their way back the client, and all worked.Â Â  (The lost packets still haunt the data center to this day!)</p>
<p>Teh End&#8230;</p>
<p>or is it?</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/10/29/tales-of-horrors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>There Are No More Webservers Left</title>
		<link>http://lbdigest.com/2009/10/27/there-are-no-more-webservers-left/</link>
		<comments>http://lbdigest.com/2009/10/27/there-are-no-more-webservers-left/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 01:52:01 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=435</guid>
		<description><![CDATA[There are no more web servers left on the Internet.]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m sure many of you heard, <a href="http://gizmodo.com/5389976/geocities-is-dead-long-live-geocities">Geocities is no more</a>.Â  That means there are no more web servers on the Internet.Â  That&#8217;s right, you heard me.Â  <strong>There are no more web servers left on the Internet</strong>.</p>
<p>But Tony, what about this site? Aren&#8217;t I reading a page on your site being served from a web server?</p>
<p>It&#8217;s not actually a web server.Â  It&#8217;s a web server/application server/database server. This blog is a web application, and web applications require the three tiers:Â  Web, App, and DB.Â  This particular system is running the popular LAMP stack, for Linux, Apache, MySQL, and PHP.Â  The application this server runs (among others) is the popular <a href="http://wordpress.org">WordPress</a> blog.</p>
<p>So, no, it&#8217;s not a web server. Not just a web server anyway.Â  You get the point.</p>
<p>When&#8217;s the last time you went to a static web page?Â  Years ago, your average person would need to know some HTML in order to post pictures of their cats.Â  Now, a web application handles the presentation, all you need to do is supply the cat pictures (and adorable captions).</p>
<p>Everything is a web application.Â  Nothing is static anymore.Â  That&#8217;s part of the reason load balancers are being called &#8220;Application Delivery Controllers&#8221;.</p>
<p>Nothing usable on the Interet today is useful unless it&#8217;s a web application.Â  Blogs, news sites (powered by content management system), social media, web stores.Â  They&#8217;re all web applications.Â  So no more web servers.Â  Not by themselves, anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/10/27/there-are-no-more-webservers-left/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>One Arm, One Network, To Rule Them All</title>
		<link>http://lbdigest.com/2009/10/25/one-arm-one-network-to-rule-them-all/</link>
		<comments>http://lbdigest.com/2009/10/25/one-arm-one-network-to-rule-them-all/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 22:08:19 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Feature Articles]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=425</guid>
		<description><![CDATA[Ok, I&#8217;m not really a Tolkin fan (you dare speak such heresy! -ed), but I couldn&#8217;t resist the nerd reference.Â  Especially from a guy with a license plate that says &#8220;NERD 1&#8243; (I&#8217;m not kidding). This post covers network topology, which is how the load...]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;m not really a Tolkin fan (<em>you dare speak such heresy! -ed</em>), but I couldn&#8217;t resist the nerd reference.Â  Especially from a guy with a license plate that says &#8220;NERD 1&#8243; (I&#8217;m not kidding).</p>
<p>This post covers network topology, which is how the load balancer fits into the network.Â  How a device fits into the network is usually a difficult concept to get, and often that&#8217;s simply because people make it tougher than it need be. Basically, for a load balancer to be put into a network effectively, two things need to happen.</p>
<ol>
<li>Traffic needs to flow through the load balancer on the way in</li>
</ol>
<ol>
<li>Traffic needs to flow through the load balancer on the way out</li>
</ol>
<p>The first part is easy, as there&#8217;s only one way.Â  We direct traffic to the virtual IP (VIP) and port sitting on the load balancer.Â  This is the IP and port that pretends to be the server.Â  Getting traffic through the load balancer on the way out is probably one of the toughest concepts to grasp when learning load balancers, as there are several ways to accomplish this.</p>
<p>There&#8217;s on method of getting traffic through the load balancer on the way out that&#8217;s a quick way to drop a load balancer into an existing infrastructure with minimal changes to the network topology.Â  This is called one-armed, route-path.</p>
<p>One-armed, route path is not as popular as some of the other methods, although it has the distinct benefit of being a good, quick &#8220;drop-in&#8221; deployment.Â  Here&#8217;s how it works.</p>
<p style="text-align: left;">Let&#8217;s say you&#8217;ve got a network with a couple of servers sitting behind a firewall.Â  This firewall does NAT from a public address space to private IPs. This is a pretty common scenario for a small to medium sized business.</p>
<p style="text-align: center;"><img class="size-medium wp-image-429 aligncenter" title="onearmedroutepathBEFORE" src="http://lbdigest.com/wp-content/uploads/2009/10/onearmedroutepathBEFORE-193x300.png" alt="onearmedroutepathBEFORE" width="193" height="300" /></p>
<p>In the example shown above, the default gateway for the servers is the firewall, at 192.168.1.1.Â  To network admins, The concept of a default gateway is second nature.Â  To server folks, keep this in mind:Â  If you want to send IP traffic to a system not on your local network, you need a router to handle delivery.Â  That is your default gateway.Â  Without a default gateway for your servers, you can&#8217;t communicate with the Internet.</p>
<p>So now lets say we want to drop a load balancer into the network.Â  There are several options, and for the most part the advantages of one over another are logistical, not performance related.Â  For example, to do two-armed, Layer 3 path (arguably the most common topology), you would need to put in a new IP network between the firewall and the servers, and one new Layer 2 network.Â  This would require re-addressing the IPs on all the servers.</p>
<p>And while adding a new Layer 2 and Layer 3 network would certainly work, we can use one-armed, Layer 3 path without the need to re-IP all the servers or adding new networks.</p>
<p style="text-align: center;"><img class="size-medium wp-image-430  aligncenter" title="onearmedroutepathAFTER" src="http://lbdigest.com/wp-content/uploads/2009/10/onearmedroutepathAFTER-195x300.png" alt="onearmedroutepathAFTER" width="195" height="300" /></p>
<p>In the figure above, you see that we&#8217;ve changed the default gateway on the servers to that of the administrative IP of the load balancer (if there were two load balancers, they would have a floating administrative IP which you would use as the default gateway).Â Â  The default gateway of the load balancer is that of the firewall.</p>
<p>This seems a little odd, as we&#8217;ve got two default gateways on the same IP network.Â  While unusual, it works, and it&#8217;s a handy way to drop a load balancer into a network with minimal changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/10/25/one-arm-one-network-to-rule-them-all/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Your Epic Fail:  Fast or Slow?</title>
		<link>http://lbdigest.com/2009/10/11/your-epic-fail-fast-or-slow/</link>
		<comments>http://lbdigest.com/2009/10/11/your-epic-fail-fast-or-slow/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 00:10:11 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Editorial]]></category>
		<category><![CDATA[Feature Articles]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Pontification]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=412</guid>
		<description><![CDATA[In the load balancing world, many vendors have the concept of &#8220;sorry servers&#8221;, or &#8220;backup server farms/pools&#8221;.Â  Essentially, if most or all of your primary servers are down, traffic is redirected to a backup server(s) containing either reinforcements of the same web application, or a...]]></description>
			<content:encoded><![CDATA[<p>In the load balancing world, many vendors have the concept of &#8220;sorry servers&#8221;, or &#8220;backup server farms/pools&#8221;.Â  Essentially, if most or all of your primary servers are down, traffic is redirected to a backup server(s) containing either reinforcements of the same web application, or a &#8220;sorry&#8221; page.</p>
<p>The idea is that if everything goes terribly wrong, at least your visitors will see something, instead of nothing.</p>
<p>Which begs the question: How do you like to fail?Â  Fail fast or fail slow? Would it be better to fail slow, where your site becomes slower and slower, or possibly just unresponsive, or would it be better to put up a quick-serving sorry page if the infrastructure melts?<img class="size-medium wp-image-414 alignright" style="margin: 4px;" title="technical_difficulties" src="http://lbdigest.com/wp-content/uploads/2009/10/technical_difficulties-300x216.jpg" alt="technical_difficulties" width="300" height="216" /></p>
<p>A wildly successful website can easily become a victim of its own success.Â  Take the case of two sites that experienced exponential growth in a relatively short period of time:Â  Twitter.com and Myspace.com.</p>
<p>They took two different paths in the realm of failure.Â  One failed fast, and one failed slow.</p>
<p>Although Myspace has lost most of its lead to Facebook, it&#8217;s still a wildly popular social media site.Â  They had exponential growth from their start in 2003, and there were many periods of time when Myspace.com was just&#8230; slow.Â  Really really slow. You can&#8217;t really blame them.Â  It&#8217;s tough when users come faster than you can install servers and provision bandwidth.Â  It&#8217;s a happy problem to have usually, but it&#8217;s still a logistical challenge.</p>
<p><img class="size-medium wp-image-413 alignleft" style="margin: 5px;" title="Fail Whale" src="http://lbdigest.com/wp-content/uploads/2009/10/fail_whale-300x225.jpg" alt="Fail Whale" width="300" height="225" /></p>
<p>Twitter.com came around a bit later, but it also had exponential growth and problems coping.Â  But for the most part, they failed in a different way:Â  Fail Whale. When something went terribly awry, instead of a slow site, you&#8217;d get a very quick fail whale image.</p>
<p>Perhaps this is a matter of personal opinion, but I think if you&#8217;re going to fail, it&#8217;s better to fail quick than fail slow.Â  That is, have a sorry page or sorry site that comes up quick, rather than a site that is too slow for anyone to use.</p>
<p>The quick sorry page can be done with many of the load balancing/ADC vendors by using the backup/sorry serverfarm feature.Â  Keeping a group of reserve servers, serving up only a &#8220;oops, sorry about that&#8221; type of page, your own fail whale, can be better than having a really slow or unresponsive web site.</p>
<p>Of course, you won&#8217;t always be able to choose the method of your failure.Â  If your upstream ISP goes dark, there&#8217;s not much you can do (unless you have an offsite fail site).Â  But I personally think having a fail site is a more &#8220;professional&#8221; way to fail than having a slow or unresponsive site when things go belly up (and we all know they will).</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/10/11/your-epic-fail-fast-or-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
