<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Richard Campbell Blogs Too - Network Gear</title>
    <link>http://www.campbellassociates.ca/blog/</link>
    <description>Surrendering to the Inevitable</description>
    <language>en-us</language>
    <copyright>Richard Campbell</copyright>
    <lastBuildDate>Sat, 05 May 2007 00:40:47 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.7067.0</generator>
    <managingEditor>richard@campbellassociates.ca</managingEditor>
    <webMaster>richard@campbellassociates.ca</webMaster>
    <item>
      <trackback:ping>http://www.campbellassociates.ca/blog/Trackback.aspx?guid=1097b5f2-c5e1-4cbe-b7c1-59b473c50076</trackback:ping>
      <pingback:server>http://www.campbellassociates.ca/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.campbellassociates.ca/blog/PermaLink,guid,1097b5f2-c5e1-4cbe-b7c1-59b473c50076.aspx</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.campbellassociates.ca/blog/CommentView,guid,1097b5f2-c5e1-4cbe-b7c1-59b473c50076.aspx</wfw:comment>
      <wfw:commentRss>http://www.campbellassociates.ca/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=1097b5f2-c5e1-4cbe-b7c1-59b473c50076</wfw:commentRss>
      <title>Peeking Over the Fence into the Networking Guys' Backyard Reveals a Brilliant Load Testing Solution</title>
      <guid isPermaLink="false">http://www.campbellassociates.ca/blog/PermaLink,guid,1097b5f2-c5e1-4cbe-b7c1-59b473c50076.aspx</guid>
      <link>http://www.campbellassociates.ca/blog/PermaLink,guid,1097b5f2-c5e1-4cbe-b7c1-59b473c50076.aspx</link>
      <pubDate>Sat, 05 May 2007 00:40:47 GMT</pubDate>
      <description>&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;We’ve been going through beta testing at &lt;a href="http://www.strangeloopnetworks.com/"&gt;Strangeloop&lt;/a&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;,
which means I’ve had the chance to do some serious scaling of ASP.NET. One of the
interesting experiences that keeps coming up in this process is the reaction we get
from customers when we’re helping them do load testing. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;One of the things we can offer our early beta
test customers is the opportunity to load test their site, with and without Mobius
in the loop. We need the test data anyway, and quite a few candidates don’t really
have much in the way of load testing resources ready to go. And then we test their
site in our lab with our &lt;a href="http://www.spirent.com/analysis/technology.cfm?media=7&amp;amp;WS=325&amp;amp;SS=109&amp;amp;wt=2"&gt;Spirent
Avalanche&lt;/a&gt;, and they go “Wow! I need one of those!”&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;So what’s a &lt;a href="http://www.spirent.com/analysis/technology.cfm?media=7&amp;amp;WS=325&amp;amp;SS=109&amp;amp;wt=2"&gt;Spirent
Avalanche&lt;/a&gt;, you ask? Funny you should ask… It’s 3Us of load testing love.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;Josh Bixby, our VP of product development, noticed
it when he was at trade shows. One of the benefits of having our feet in both the
development camp and the networking camp is that we naturally see things on the network
side that a lot of developers don’t. Josh pointed out that virtually every company
making networking appliances had one of these 3U boxes in their demo racks. But I’d
never heard of it before. So we checked it out, and realized it was the best answer
I’ve ever seen to doing load testing. I know that load testing isn’t something people
want to think about unless they HAVE to think about it. But if you do have to think
about it, you have to check this out. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;I don’t need to emphasize how much of a pain
load testing is. Typically, you have two options, both of which suck: If you’re doing
it yourself, you may be spending literally a week setting up a load test farm, and
you’re probably spending more energy making the configuration work than actually doing
the test. Which is no surprise, since most likely you’re using any piece of junk you
can find, trying to network together a bunch of machines with different NICs, different
performance, different speeds, etc., before you even begin to configure the test.
I had one customer that bought me ten identical, dedicated servers for load testing
- for about the same cost as an Avalanche - but that’s the exception, not the rule.
And it still gives you much less control, you have to do all your own analytics, etc.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;It’s easy to think “Oh, I’ll just use &lt;a href="http://www.mercury.com/us/"&gt;Mercury
Interactive&lt;/a&gt; (sorry, &lt;a href="http://h71028.www7.hp.com/enterprise/cache/447066-0-0-0-121.html?rd=mercury"&gt;HP
Mercury&lt;/a&gt;) to do my load testing.” Easy until you see the price. Paying six digits
for load testing with a 20% annual maintenance contract isn’t so easy. And that’s
just for software – you still supply the hardware. I don’t think anyone told Mercury
that the Dot Com Boom was over. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;So taking a page from the network guys, there’s
a third way to do load testing: You get a Spirent Avalanche, hook it up, and let it
do the job. One 3U box with four gigabit Ethernet ports that can generate nearly two
million users by itself. So you’ve got the hardware and the software all in one box.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;Of course, the Avalanche isn’t cheap either,
although they’ve nailed the gradually pregnant business model well – you can rent
the gear, and those rental charges get applied to a purchase. We spent less than $100,000
on our 2700 with all the features we needed to do web testing. It also uses TCL-based
scripting, which is usually the realm of networking guys, not developers, and can
be difficult to understand. TCL provides the Avalanche with the flexibility to do
load testing on a lot more than just web stuff.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;However, bundled with the Avalanche is a product
called &lt;a href="http://www.sstinc.com/webpro_spirent.html"&gt;TracePlus/Web Detective
(Spirent Edition)&lt;/a&gt;, made by &lt;a href="http://www.sstinc.com/"&gt;System Software Technology
(SST)&lt;/a&gt;. SST makes a variety of different TracePlus products for networking and
web, including this version specifically for working with the Avalanche. TracePlus
provides the classic capture mechanisms that you see with most load generating tools,
where the tool captures your navigation of the web pages and captures them as HTTP
commands. The Avalanche internally converts this to its TCL commands.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;The Avalanche has some ability to do reporting
internally (pretty graphs), but the main way we’re using it is in “Excel mode”, where
it generates CSV files that we can load into spreadsheets for analysis.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;We’re also finding that the Avalanche doesn’t
understand ASP.NET things like viewstate very well, but then, neither does &lt;a href="http://www.microsoft.com/technet/archive/itsolutions/intranet/downloads/webstres.mspx?mfr=true"&gt;WAST&lt;/a&gt;.
We’re using &lt;a href="http://msdn2.microsoft.com/en-us/teamsystem/aa718823.aspx"&gt;Visual
Studio 2005 Team Edition for Testers&lt;/a&gt; to get really smart functional testing around
specific ASP.NET features.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;Even with these complications, it’s such a better
way to do load testing than setting up servers, and infinitely better than letting
your paying customers do the testing. So if you’re doing load testing, why aren’t
you using one of these? Why don’t more people know about this? This is pretty standard
equipment if you build networking gear. It’s not like the Avalanche is some new, earth-shattering
product. It’s not even mentioned on the main page of Spirent’s Web site?!?&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;I have yet to find anyone else in the ASP.NET
world using a Spirent Avalanche. I really think it’s just a cultural issue, where
great stuff is getting lost in translation between the networking world and the Web
development world. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;&lt;font color=#000000&gt;Important lesson: If you’re not paying attention
to the networking space, you should be. You may just be wasting your time wrestling
with a problem that other smart people have already solved. That’s one of the cool
things about working with Strangeloop; we really get to straddle the line between
those two worlds. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;span lang=EN-US&gt;
&lt;o:p&gt;
&lt;font face="Times New Roman" color=#000000&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.campbellassociates.ca/blog/aggbug.ashx?id=1097b5f2-c5e1-4cbe-b7c1-59b473c50076" /&gt;</description>
      <comments>http://www.campbellassociates.ca/blog/CommentView,guid,1097b5f2-c5e1-4cbe-b7c1-59b473c50076.aspx</comments>
      <category>ASP.NET</category>
      <category>Development</category>
      <category>Network Gear</category>
      <category>Strangeloop</category>
      <category>Testing</category>
    </item>
  </channel>
</rss>