<?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 &#187; Buyer&#8217;s Guide</title>
	<atom:link href="http://lbdigest.com/category/buyers-guide/feed/" rel="self" type="application/rss+xml" />
	<link>http://lbdigest.com</link>
	<description>Server Load Balancing Articles and News</description>
	<lastBuildDate>Mon, 22 Aug 2011 12:16:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CPS versus TPS: How to Measure SSL Performance</title>
		<link>http://lbdigest.com/2011/03/11/cps-versus-tps-how-to-measure-ssl-performance/</link>
		<comments>http://lbdigest.com/2011/03/11/cps-versus-tps-how-to-measure-ssl-performance/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 07:44:34 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Buyer's Guide]]></category>
		<category><![CDATA[Feature Articles]]></category>
		<category><![CDATA[Load Balancing 101]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=506</guid>
		<description><![CDATA[SSL performance is a tricky thing to measure.  There are a lot of different aspects to consider, and on top of that different vendors use slightly different definitions for the...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://icanhascheezburger.files.wordpress.com/2010/01/funny-pictures-cat-will-do-science.jpg" alt="" width="500" height="674" /></p>
<p>SSL performance is a tricky thing to measure.  There are a lot of different aspects to consider, and on top of that different vendors use slightly different definitions for the same terms. I was talking with a vendor the other day, and I realized as we were talking performance numbers we had different definitions for the term TPS (Transactions Per Second) and CPS (Connections Per Second).</p>
<p>TPS is probably one of the more ill-advised acronyms (<a href="http://it.toolbox.com/blogs/oracle-guide/i-smell-a-rat-an-oracle-rat-acronyms-may-or-may-not-be-your-friend-20767?reftrk=no" target="_blank">boy do we love acronyms</a>) for load balancers, because it&#8217;s open to debate what the &#8220;transaction&#8221; in transactions per second means.</p>
<h3><strong>SSL Basics</strong></h3>
<p>Before we talk about CPS versus TPS, let&#8217;s review some SSL basics.  In a new SSL connection, two things happen: An asymmetric exchange, then a transition to symmetric encryption.</p>
<p>The asymmetric part is why load balancers from <a href="http://www.f5.com" target="_blank">F5</a> to <a href="http://kemptechnologies.com" target="_blank">KEMP</a> use SSL accelerator chips.  It&#8217;s incredibly CPU intensive; so much so that a server that is capable of tens of thousands of connections per second of regular TCP connections is only capable of several hundred SSL connections.  To keep this from crippling the CPU, SSL accelerator processors are used to offload the cryptographic functions from the main CPU.</p>
<p>So when we measure SSL performance of a load balancer, we typically want to measure three things:</p>
<p>1: How many new SSL connections per second can a device handle, that is how many of the expensive RSA operations per second are possible.</p>
<p>2: How much bandwidth of SSL traffic can the device push.  This is symmetric encryption (such as AES), and is much easier on a CPU.</p>
<p>3: How many HTTP requests per second can the device handle after an SSL connection is established.  In HTTP 1.1, a client is allowed to make multiple HTTP requests off a single TCP/SSL connection.  This is far more efficient than the old HTTP 1.0 standard, that required a separate TCP connection for each object.  Many sites will have pages with literally hundreds of objects (I&#8217;m looking at you http://vg.no).</p>
<p>The trick is how many HTTP requests per SSL connection?  Personally, I&#8217;d say anywhere between 10 to 20 is a pretty good place to start, but that&#8217;s not what everyone uses.  In an epically flawed fight that <a href="http://www.o3magazine.com/4/a/0/2.html">o3 magazine picked with F5</a>, author John Buswell claimed that an Nginx-based box he built could handle 25,000 TPS.</p>
<blockquote><p><em>The system had no problems handling over 26,590 TPS, the test lab ran out of capacity to generate additional transactions. Compare that to the F5 Networks Big-IP 6900 which handles a maximum of 25,000 TPS but carries a starting price tag of $55,000. </em></p></blockquote>
<p>The box he used had 2 quad core Opteron CPUs that <em>were in no way capable</em> of doing 26,000+ new SSL connections per second without an SSL accelerator card (which he didn&#8217;t use).  A few thousand 1024-bit RSA operations per second at the most, but definitely not 26,000.</p>
<p>He likely made the mistake of opening a couple of SSL connection, and running 25,000+ HTTP request per second off those open TCP/SSL connections (which is not even close to a real world scenario).   25,000 HTTP requests per second is within the capabilities of his box.  This is not how F5 measures TPS, nor how any other vendor measures TPS.  Of course, I&#8217;m only guessing at his methodology, as he never bothered to share his testing methodology.  (F5 and other vendors share their methodology).</p>
<p>TPS versus CPS</p>
<p>While SSL throughput is pretty easy to measure and the definition is identical for all vendors, the terms TPS and CPS aren&#8217;t.  So what do they mean?  CPS (Connections per Second) can mean a couple of things.  For SSL, it would typically mean <em>new</em> SSL connections, requiring the asymmetric operation.  Some vendors use TPS for this definition (the T standing for an asymmetric transaction), while other vendors use CPS for the SSL portion, and TPS for the HTTP-within-an-SSL connection.</p>
<p>So it&#8217;s important to understand what&#8217;s being measured.  Different vendors have different ideas of what that means, although they are honest differences of opinions (things reasonable people can disagree on).  Most vendors are reputable and will outline the methodology they used to come up with their numbers (03 magazine did not).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2011/03/11/cps-versus-tps-how-to-measure-ssl-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moore&#8217;s Law and Bandwidth Consumption</title>
		<link>http://lbdigest.com/2009/05/27/moores-law-and-bandwidth-consumption/</link>
		<comments>http://lbdigest.com/2009/05/27/moores-law-and-bandwidth-consumption/#comments</comments>
		<pubDate>Wed, 27 May 2009 07:26:22 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Buyer's Guide]]></category>
		<category><![CDATA[Editorial]]></category>
		<category><![CDATA[Feature Articles]]></category>
		<category><![CDATA[Load Balancing 101]]></category>

		<guid isPermaLink="false">http://lbdigest.com/?p=379</guid>
		<description><![CDATA[Most in IT are familiar with the concept of Moore&#8217;s Law, whereby processor capability tends to double about every two years.Â  To a certain extent, this happens with networking equipment,...]]></description>
			<content:encoded><![CDATA[<p>Most in IT are familiar with the concept of Moore&#8217;s Law, whereby processor capability tends to double about every two years.Â  To a certain extent, this happens with networking equipment, with their capacity increasing at a steady rate, although probably not the same rate at processors.</p>
<p>Benefiting from Moore&#8217;s Law to a great extent are load balancers/ADCs, where the lowest end device from just about every vendor can handle traffic loads in the 50-100 Mbps range.Â  Of course, throughput isn&#8217;t a terrible way of measuring performance capability of a load balancer (100 Mbps of large file downloads is a heckuva lot easier than 100 Mbps of tiny file connections), but it does relate well to one very important factor in web site serving:</p>
<p>How big is your pipe?</p>
<p>Businesses of all sizes have seen steady increases in their available bandwidth to be sure, but while the growth may be steady, for the most part it tends to be a slower growth rate.Â  Much slower than doubling every 18 months, like in Moore&#8217;s Law.Â Â  The result is that increasingly that the lower end offerings from vendors are more than sufficient to run a larger share of web sites out there.</p>
<p>There are a number of reasons for this.Â  We&#8217;re no longer experiencing the exponential accross-the-board growth rates in users that occurred during the dot-com boom.Â  While there are some sites going through a growth explosion, for most websites in this economic environment, growth rates of any kind are fairly extraordinary.Â  So extra bandwidth isn&#8217;t in as high demand. Secondly, if you&#8217;re hosting your own data center as many large businesses do, getting extra bandwidth is often time consuming.Â  Moving from a single DS3 (45 Mbps) to an OC-3 (155 Mbps) is going to take some time to get that order fulfilled.</p>
<p>Cisco&#8217;s ACE 4710 appliance comes with a default license of 1 Gbps of throughput.Â  F5&#8242;s entry-level BIG-IP 1600 LTM maxes out at 1 Gbps.Â Â  In the Enterprise market, 500-Mbps to 1 Gbps is about the rock bottom in terms of performance capability.Â  Yet many of the high-end clients of these vendors don&#8217;t push nearly that much traffic.</p>
<p>Companies that aren&#8217;t media or mega-content providers (such as Google, Youtube, Yahoo!, Facebook, etc.) that have web applications serving customers or businesses typically don&#8217;t go above 100-200 Mbps in traffic, even for some Fortune 500 companies.Â   Of course, there are exceptions, and there are quite a few factors involved in determining the traffic characteristics of a site. Companies that are offering media such as streaming video or audio often use third-party content providers, such as Youtube or Akami, so as to keep that bandwidth off their own pipe.</p>
<p>So we&#8217;ve got all this idle CPU time, so why not make use of it?Â  That&#8217;s what many vendors are doing, in both the enterprise and value markets. With the steady rise in CPU power while bandwidth consumption lags behind, vendors are throwing more and more capabilities into these devices to take advantage of the unused CPU cycles, such as caching, compression, Layer-7 inspection, etc.Â  Vendors are offering more functionality with the greater power they have available to them.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2009/05/27/moores-law-and-bandwidth-consumption/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SMB Market: To Gigabit or not to Gigabit</title>
		<link>http://lbdigest.com/2008/03/22/smb-market-to-gigabit-or-not-to-gigabit/</link>
		<comments>http://lbdigest.com/2008/03/22/smb-market-to-gigabit-or-not-to-gigabit/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 18:49:00 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Buyer's Guide]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2008/03/22/smb-market-to-gigabit-or-not-to-gigabit/</guid>
		<description><![CDATA[To Gigabit or not, that is the question. In terms of the Enterprise market, it&#8217;s really whether to go Gigabit or 10 Gigabit. But in the SMB market, the question...]]></description>
			<content:encoded><![CDATA[<p>To Gigabit or not, that is the question.  In terms of the Enterprise market, it&#8217;s really whether to go Gigabit or 10 Gigabit.  But in the SMB market, the question is Gigabit or Fast Ethernet.</p>
<p>Prices have come down in Gigabit to the point where Gigabit is almost the default.  However, in the purpose built hardware that the value vendors use, Fast Ethernet is still more common than Gigabit, especially in the entry level units.</p>
<p>One of the cost considerations isn&#8217;t so much the load balancer itself, but the cost of the actually getting connectivity at levels greater than 100 Mbps. (Remember, the whole point of Gigabit is to have the ability to push 101 Mbps, not necessarily 800 Mbps).  A couple of quick searches on Google show that prices for raw bandwidth in a colo facility in the US starts around $12 per Mbit, give or take, making 100 Mbps $1,200 USD per month.  Combined with the colo costs, server rental (or upfront capital expenditure), that&#8217;s not an insignificant cost when compared with the prices of the devices in the value market.</p>
<p>At that level of traffic, hopefully you have a revenue source sufficient to pay for a Gigabit-capable valuemarket load balancer.   If not, you may want to consider bandwidth reducing measures, such as putting company videos up on Youtube.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2008/03/22/smb-market-to-gigabit-or-not-to-gigabit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Might As Well Face It, You&#8217;re Addicted To Control Languages</title>
		<link>http://lbdigest.com/2008/02/29/might-as-well-face-it-youre-addicted-to-control-languages/</link>
		<comments>http://lbdigest.com/2008/02/29/might-as-well-face-it-youre-addicted-to-control-languages/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 17:12:37 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Buyer's Guide]]></category>
		<category><![CDATA[Feature Articles]]></category>
		<category><![CDATA[Industry News]]></category>
		<category><![CDATA[arules]]></category>
		<category><![CDATA[control language]]></category>
		<category><![CDATA[irules]]></category>
		<category><![CDATA[trafficscript]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2008/02/29/might-as-well-face-it-youre-addicted-to-control-languages/</guid>
		<description><![CDATA[I could have gone a couple of different ways with the title, including &#8220;You alright! I learned it from watching you!&#8221; and &#8220;I&#8217;m not the one with a problem, you...]]></description>
			<content:encoded><![CDATA[<p>I could have gone a couple of different ways with the title, including &#8220;You alright! I learned it from watching you!&#8221; and &#8220;I&#8217;m not the one with a problem, you are&#8221;, but instead I went for the late great <a href="http://www.youtube.com/watch?v=F0U5JfGYx4c">Robert Palmer</a>.</p>
<p>But the point of this post isn&#8217;t cultural references, but rather the addictive nature of a particular feature of high-end load balancers/application delivery.  I&#8217;m talking about control languages, such as iRules for F5 or aRules for A10 networks.</p>
<p>They allow scripted inspection and manipulation of both the headers and payload of inbound and outbound HTTP, which is an extremely useful feature.  Usually based on a scripting language such as Python or Perl, they allow for some pretty sophisticated actions.</p>
<p>However, not that many vendors have a control language.  <a href="http://www.a10networks.com">A10 networks</a>, <a href="http://f5.com">F5</a>, and <a href="http://zeus.com">Zeus</a> are the ones I can think of off the top of my head.  And their feature sets vary pretty widely.</p>
<p>F5 has a great <a href="http://devcentral.f5.com">community for iRule development</a>, and they&#8217;ve got some example iRules on <a href="http://devcentral.f5.com/Default.aspx?tabid=58">devcentral</a> such as a credit card number scrubber, cookie encryption (decrypt it on the server with a shared key), and cookie persistence logger.</p>
<p>Vendors benefit from the exclusivity of this feature, in that there isn&#8217;t a lot of competition.  But the biggest benefit to vendors is that using the control language is <em>so freaking addictive</em>.  It&#8217;s sort of like the heated car seats of the slb industry.  Sure, you did just fine without it.  But once you&#8217;ve used it, it&#8217;s hard to go back.</p>
<p>Depending on the feature set, it may be possible to switch from one vendor&#8217;s control language to another&#8217;s, but it&#8217;s non-trivial.   Going to a non-control language vendor would very likely be a deal breaker.</p>
<p>Can you get a client to give up their control language?  Sure, but the hand you pry it out of will probably need to be cold and dead.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2008/02/29/might-as-well-face-it-youre-addicted-to-control-languages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco CSS Replacements</title>
		<link>http://lbdigest.com/2008/02/12/cisco-css-replacements/</link>
		<comments>http://lbdigest.com/2008/02/12/cisco-css-replacements/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 17:57:49 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Ask Tony]]></category>
		<category><![CDATA[Buyer's Guide]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2008/02/12/cisco-css-replacements/</guid>
		<description><![CDATA[There was a post today on the lb-l mailing list asking about alternatives to Cisco&#8217;s CSS. This is part of a trend I&#8217;ve noticed lately, where people who have an...]]></description>
			<content:encoded><![CDATA[<p>There was a post today on the <a href="http://vegan.net/lb/archive/02-2008/0006.html">lb-l mailing list</a> asking about alternatives to Cisco&#8217;s CSS.  This is part of a trend I&#8217;ve noticed lately, where people who have an existing Cisco CSS installation are looking to replace that gear with new gear.</p>
<p>Cisco CSS users specifically have an interesting choice when it comes to choosing a new product:  They can take the high road, or they can take the low road.</p>
<p>Feature-wise, the Cisco CSS is roughly in parity with much of the value market (KEMP, Barracuda, Coyote Point).  If a site is looking to keep the same level of functionality along with saving a ton of cash, then the value market may be the way to go.</p>
<p>More advanced load balancers, such as F5&#8242;s BIG-IP, A10 networks, and of course, Cisco&#8217;s ACE platform, offer a lot more features than the CSS. F5 for example offers their iRule platform, which allows the load balancer to do some pretty sophisticated app-level functions (such as authentication) before ever hitting an application.Â  They all offer a more flexible network implementation, with multiple in-bound and out-bound routes.Â  Of course, the prices are significantly more than the value market products.</p>
<p>The good news is, if you&#8217;re looking to replace your Cisco CSS load balancers, there are over a dozen appropriate vendors that can replace your infrastructure while giving you similar functionality.Â  The bad news is, there is over a dozen vendors to choose from.Â  So don&#8217;t be afraid to get picky, and start looking into either saving a lot of money, or getting a lot more features.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2008/02/12/cisco-css-replacements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Holy Crap, There&#8217;s A Lot Of Vendors</title>
		<link>http://lbdigest.com/2007/11/29/holy-crap-theres-a-lot-of-vendors/</link>
		<comments>http://lbdigest.com/2007/11/29/holy-crap-theres-a-lot-of-vendors/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 16:37:33 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Buyer's Guide]]></category>
		<category><![CDATA[Feature Articles]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2007/11/29/holy-crap-theres-a-lot-of-vendors/</guid>
		<description><![CDATA[I put together a list of all of the active load balancing vendors that I&#8217;m aware of, and dayom, there&#8217;s a lot. A10 Networks Array Networks (corrected) Barracuda Networks BalanceNG...]]></description>
			<content:encoded><![CDATA[<p>I put together a list of all of the active load balancing vendors that I&#8217;m aware of, and dayom, there&#8217;s a lot.</p>
<ul>
<li> <a href="http://www.a10networks.com/" class="external text" title="http://www.a10networks.com" rel="nofollow">A10 Networks</a></li>
<li> <a href="http://www.arraynetworks.net/" class="external text" title="http://www.arraynetworks.com" rel="nofollow">Array Networks</a> (corrected)</li>
<li> <a href="http://www.barracudanetworks.com/" class="external text" title="http://www.barracudanetworks.com" rel="nofollow">Barracuda Networks</a></li>
<li> <a href="http://www.balanceng.com/" class="external text" title="http://www.balanceng.com" rel="nofollow">BalanceNG</a></li>
<li> <a href="http://www.cainetworks.com/" class="external text" title="http://www.cainetworks.com" rel="nofollow">CAI Networks Web Mux</a></li>
<li> <a href="http://www.celestix.com/" class="external text" title="http://www.celestix.com" rel="nofollow">Celestix</a></li>
<li> <a href="http://www.cicso.com/" class="external text" title="http://www.cicso.com" rel="nofollow">Cisco, makers of LocalDirector, Distributed Director, CSS, CSM, ACE load balancers</a></li>
<li> <a href="http://www.citrix.com/English/ps2/products/product.asp?contentID=21679" class="external text" title="http://www.citrix.com/English/ps2/products/product.asp?contentID=21679" rel="nofollow">Citrix/Nescaler</a></li>
<li> <a href="http://coyotepoint.com/" class="external text" title="http://coyotepoint.com" rel="nofollow">Coyote Point Systems</a></li>
<li> <a href="http://www.extremenetworks.com/" class="external text" title="http://www.extremenetworks.com" rel="nofollow">Extreme Networks</a></li>
<li> <a href="http://www.f5.com/" class="external text" title="http://www.f5.com" rel="nofollow">F5 Networks, makers of BIG-IP/3DNS</a></li>
<li> <a href="http://www.foundrynet.com/" class="external text" title="http://www.foundrynet.com" rel="nofollow">Foundry Networks</a></li>
<li> <a href="http://www.juniper.com/" class="external text" title="http://www.juniper.com" rel="nofollow">Juniper DX</a></li>
<li> <a href="http://kemptechnologies.com/" class="external text" title="http://kemptechnologies.com" rel="nofollow">KEMP Technologies</a></li>
<li> <a href="http://www.linuxvirtualserver.org/" class="external text" title="http://www.linuxvirtualserver.org" rel="nofollow">Linux Virtual Server project</a></li>
<li> <a href="http://loadbalancer.org/" class="external text" title="http://loadbalancer.org/" rel="nofollow">Load Balancer.org</a></li>
<li> <a href="http://www.nortel.com/" class="external text" title="http://www.nortel.com" rel="nofollow">Nortel, makers of the Alteon line</a></li>
<li> <a href="http://www.openbsd.org/faq/pf/" class="external text" title="http://www.openbsd.org/faq/pf/" rel="nofollow">OpenBSD&#8217;s PF</a></li>
<li> <a href="http://www.apsis.ch/pound" class="external text" title="http://www.apsis.ch/pound" rel="nofollow">Pound (Open Source)</a></li>
<li> <a href="http://www.radware.com/" class="external text" title="http://www.radware.com" rel="nofollow">Radware</a></li>
<li> <a href="http://www.xgforce.com/" class="external text" title="http://www.xgforce.com" rel="nofollow">XGForce</a></li>
<li> <a href="http://www.zeus.com/" class="external text" title="http://www.zeus.com" rel="nofollow">Zeus</a></li>
</ul>
<p>That&#8217;s over 20 different vendors/projects that involve load balancing.  If you know of even more, shoot me an email (tony at lb digest dot com).</p>
<p>And as always, don&#8217;t be afraid to shoot me a question about load balancing.  I&#8217;ve been getting quite a few lately, and I&#8217;ve posted some of the answers so that others may hopefully benefit.  You can email them, or simply throw them in a comment section of a post.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2007/11/29/holy-crap-theres-a-lot-of-vendors/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>What Application Developers Need To Know About Load Balancers</title>
		<link>http://lbdigest.com/2007/11/28/what-application-developers-need-to-know-about-load-balancers-2/</link>
		<comments>http://lbdigest.com/2007/11/28/what-application-developers-need-to-know-about-load-balancers-2/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 21:05:39 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Ask Tony]]></category>
		<category><![CDATA[Buyer's Guide]]></category>
		<category><![CDATA[Feature Articles]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2007/11/28/what-application-developers-need-to-know-about-load-balancers-2/</guid>
		<description><![CDATA[Youâ€™re an application developer. You work in a world of untyped variables, debugging, and hitting reload over, and over, and over, and over again, all in the name of churning...]]></description>
			<content:encoded><![CDATA[<p>Youâ€™re an application developer. You work in a world of untyped variables, debugging, and hitting reload over, and over, and over, and over again, all in the name of churning out a good web app. You can spot a SQL syntax error from the corner of your eye, and youâ€™re the go-to guy (or gal) for your company.</p>
<p>But what you donâ€™t know much about is load balancers. So hereâ€™s a bit of a primer on load balancing for those involved with application development.</p>
<p><em><strong>Persistence</strong></em></p>
<p>The first thing you need to know about is persistence, and specifically, do you require it. If your application is stateful, where information regarding a session is stored on only one server, youâ€™ll need persistence. Virtually all load balancers support this, but youâ€™ll need to know to turn it on (or ask your load balancer administrator to turn it on).</p>
<p>Most applications are stateful, so itâ€™s a fair bet you will. A quick way to test is to start a session on one server, then change the hostname or IP address in your browser to point to another server with the same application installed. Does it break, act freaky, or otherwise malfunction? Then youâ€™ll need persistence.</p>
<p>As Iâ€™ve said several times before, youâ€™ll probably want cookie persistence.</p>
<p><em><strong>What The Load Balancer Passes On To The Server</strong></em></p>
<p>Sometimes Iâ€™m asked what the load balancer changes in the client request to the server.</p>
<p>The answer is: <em>absolutely nothing</em>.</p>
<p>Load balancers will pass all HTTP headers that it receives onto the server. It may add a few items, such as a persistence cookie, but in most configurations, the load balancer wonâ€™t change anything (and with many vendors, the load balancer just doesnâ€™t have the ability to change anything).</p>
<p>A load balancer might give out an HTTP 302 redirect.  A very common example is redirecting from HTTP to HTTPS.</p>
<p><em><strong>Virtual Hosting: The Host Header<br />
</strong></em></p>
<p>This is often called software virtual hosting, virtual hosting, etc. Basically, itâ€™s running more than one URL off the same IP address.</p>
<p>Letâ€™s say youâ€™ve got two URLs: www.domain1.com and www.domain2.com. In DNS, they both point to the same IP address, yet when you go to the sites with a browser, two separate web pages come up. How come? Itâ€™s all in the HTTP host header.</p>
<p>When the browser makes a request, it includes a â€œHost:â€ entry, telling the web server what host itâ€™s looking for. The web server looks at this host, and serves up the appropriate page.</p>
<p>The load balancer will forward this host request along with the entire request. Most load balancers donâ€™t have the ability to even change this.</p>
<p><em><strong>SSL Termination</strong></em></p>
<p>If you utilize SSL on your web site, you may want to consider having the load balancer terminate the SSL connection.</p>
<p>Youâ€™ll want to check to see if the load balancer has hardware acceleration, which is a special card that removes the SSL encryption/decryption operations from the general CPU and onto a specialized processor.</p>
<p>The two main benefits to SSL termination are the performance benefit by having the load balancer handle the SSL instead of your servers, and by terminating the SSL connection on the load balancer, you can use cookie persistence.</p>
<p><em><strong>Header Dump</strong></em></p>
<p>It helps to have a method, in either a standalone page or in your own library as a quick function call, to dump all the HTTP header variables.</p>
<p>In PHP, you can use the built-in phpinfo() function.</p>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<p>Have this page/function handy, in case a problem arises.Â  Point your load balancer administrator there, and they may be able to point out the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2007/11/28/what-application-developers-need-to-know-about-load-balancers-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Choose A Load Balancer</title>
		<link>http://lbdigest.com/2007/11/16/how-to-choose-a-load-balancer/</link>
		<comments>http://lbdigest.com/2007/11/16/how-to-choose-a-load-balancer/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 16:03:46 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Ask Tony]]></category>
		<category><![CDATA[Buyer's Guide]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2007/11/16/how-to-choose-a-load-balancer/</guid>
		<description><![CDATA[I get a lot of questions on what&#8217;s the best load balancer to choose. There are currently over 20 vendors too choose from, so buyers can experience a little bit...]]></description>
			<content:encoded><![CDATA[<p>I get a lot of questions on what&#8217;s the best load balancer to choose.   There are currently over 20 vendors too choose from, so buyers can experience a little bit of over-choice shutdown.</p>
<p>So, here&#8217;s a few tips to help whittle down the vendors.</p>
<p>The first thing to consider is what type of company you are.  Are you a huge mega-corporation?  A financial?  A scrappy upstart? That by itself will dramatically reduce the number of viable vendors.  If you&#8217;re a Fortune 500, you&#8217;re going to want to go with one of the established premium market players.  If you&#8217;re a scrappy upstart, your budget is probably very limited, so you&#8217;ll want a value vendor.</p>
<p>Next, consider the focus of the companies you&#8217;re evaluating.  Is their primary focus load balancing?  Is their core competency networking in general, with a tiny subset dealing with load balancing?  There are companies that are intently focused on load balancing, and companies that are generalists with networking products.  F5 and Cisco are great examples of each.  F5 is intently focused on load balancing, and generally have the best in terms of features and technology.  Cisco hasn&#8217;t been as focused, and seem to always be playing catch-up in terms of features, but they do have a widely known, highly regarded reputation.  Just about everyone has heard of Cisco, few outside of IT have heard of F5.  I tend to prefer the better technology, but both aspects have merit, and which has precedence depends highly upon your corporate directives and culture.</p>
<p>Of course, there&#8217;s also the new versus used question, but I think you know my answer on that one: Always buy new.  Not because of the coveted &#8220;new load balancer smell&#8221; (although it is delightful), but because new boxes are supported by the vendor in terms of software updates and hardware failures, and used typically aren&#8217;t.</p>
<p>The rest of the selection process depends highly upon whether you&#8217;re going for the value market or you&#8217;re going for the premium market.  I will be updating shortly with the process I recommend.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2007/11/16/how-to-choose-a-load-balancer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ask Tony</title>
		<link>http://lbdigest.com/2007/10/23/ask-tony/</link>
		<comments>http://lbdigest.com/2007/10/23/ask-tony/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 14:05:53 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Ask Tony]]></category>
		<category><![CDATA[Buyer's Guide]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2007/10/23/ask-tony/</guid>
		<description><![CDATA[New section, new idea for lbdigest.Â  It&#8217;s called (creatively) &#8220;Ask Tony&#8221;.Â  Email me a question, and I&#8217;ll answer it on this blog.Â  If you&#8217;ve got a question relating to load...]]></description>
			<content:encoded><![CDATA[<p>New section, new idea for lbdigest.Â  It&#8217;s called (creatively) &#8220;Ask Tony&#8221;.Â  Email me a question, and I&#8217;ll answer it on this blog.Â  If you&#8217;ve got a question relating to load balancing, SSL acceleration, traffic management, etc., I&#8217;ll do my best to answer it, and hopefully the answer will help others as well.</p>
<p>Send an email to tony @ lb digest dot com</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2007/10/23/ask-tony/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>On Underwear, Hard Drives, and Networking Gear</title>
		<link>http://lbdigest.com/2007/10/17/on-underwear-hard-drives-and-networking-gear/</link>
		<comments>http://lbdigest.com/2007/10/17/on-underwear-hard-drives-and-networking-gear/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 20:31:18 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Buyer's Guide]]></category>

		<guid isPermaLink="false">http://lbdigest.com/2007/10/17/on-underwear-hard-drives-and-networking-gear/</guid>
		<description><![CDATA[So what do underwear, hard drives, and networking gear (specifically, networking gear that operates above Layer 3) have in common? They are three things I don&#8217;t buy used. Underwear is...]]></description>
			<content:encoded><![CDATA[<p>So what do underwear, hard drives, and networking gear (specifically, networking gear that operates above Layer 3) have in common?</p>
<p>They are three things I don&#8217;t buy used.   Underwear is obvious.  With hard drives, they&#8217;re the component in a PC that is almost guaranteed to fail before any other component involved in a server, desktop, or workstation, so getting them new means you&#8217;ve got a rough idea how long it&#8217;s going to last (I try to move off hard drives older than 4 years).</p>
<p>With networking gear, as I&#8217;ve said before, if it operates above Layer 3, I don&#8217;t buy it used unless it comes with a support contract from the original vendor.  The reason is that with increasingly complex code associated with operating on Layers 4-7,  you&#8217;ll need access to the original vendor&#8217;s code updates.  No vendor I know of offers these code updates for free, so you&#8217;ll need a support contract.</p>
<p>So while a used Alteon might seem like a great deal on eBay, you&#8217;re completely on your own when it comes to software updates.  If the units don&#8217;t include a recent version, that could mean trouble in terms of security, stability, or bug fixes (or all three).</p>
<p>With Value vendors marketing directly to the SMB (KEMP, Coyote Point, Barracuda), there&#8217;s little reason not to go the new route with an affordable yet feature rich load balancer.</p>
]]></content:encoded>
			<wfw:commentRss>http://lbdigest.com/2007/10/17/on-underwear-hard-drives-and-networking-gear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

