Jun 28

Jesse Robbins

Jesse Robbins

The new internet traffic spikes

Theo Schlossnagle, author of Scalable Internet Architectures, gave a great explanation of how internet traffic spikes are shifting:

Lately, I see more sudden eyeballs and what used to be an established trend seems to fall into a more chaotic pattern that is the aggregate of different spike signatures around a smooth curve. This graph is from two consecutive days where we have a beautiful comparison of a relatively uneventful day followed by long-exposure spike ( compounded by a short-exposure spike (

The disturbing part is that this occurs even on larger sites now due to the sheer magnitude of eyeballs looking at today's already popular sites. Long story short, this makes planning a real bitch.

[...]What isn't entirely obvious in the above graphs? These spikes happen inside 60 seconds. The idea of provisioning more servers (virtual or not) is unrealistic. Even in a cloud computing system, getting new system images up and integrated in 60 seconds is pushing the envelope and that would assume a zero second response time. This means it is about time to adjust what our systems architecture should support. The old rule of 70% utilization accommodating an unexpected 40% increase in traffic is unraveling. At least eight times in the past month, we've experienced from 100% to 1000% sudden increases in traffic across many of our clients.


Previous  |  Next

0 TrackBacks

TrackBack URL for this entry:

Comments: 5

  Allspaw [06.29.08 07:07 AM]

My favorite part of Theo's post:

"Understanding what is and isn't "premature" is what separates senior engineers from junior engineers."

(referring to the (in)famous Knuth quote that, IMHO, is followed so blindly these days)

  Jesse Robbins [06.29.08 01:44 PM]

Indeed. Ensuring that you can easily scale horizontally isn't "optimization", at least, not the way that I think Knuth meant it. This would actually be a great question to ask him, as it seems to be so often misused.


  Jesse Chan [06.29.08 06:33 PM]

Excellent post. It seems that you need to have a sufficient number of servers always available, maybe sitting at 25-50% of a spike load. When a spike comes, you begin ramping up horizontally with some dropouts, but withing a few minutes you should be able to support the spike with no dropouts. As the spike subsides, the servers will begin sleeping again and reach pre-spike levels. This should all happen automatically in software. This would be ideal, I think :) Thoughts?

  Ken DeMaria [06.29.08 08:55 PM]

We've seen similar spikes in the near past, and now we're keeping about 10x capacity online for our front end web servers. Diggnation seems to put extra special effort into load testing our front end, and I easily can see a 5x spike from a front page link there.

Keeping hits in the database tier as low as possible from very early on, caching as much as possible, and keeping your web infrastructure online with caches primed seems to be the best option.

The flip side to these intense spikes and to this article is, that rarely do the 10x spikes last long, and it does give you the wakeup call you sometimes need to re engineer for scalability.

  dylan halberg [07.01.08 12:31 PM]

ive noticed this as well.
'a period of increased volatility'
is the n.taleb-ian phrase that comes to mind

Post A Comment:

 (please be patient, comments may take awhile to post)

Type the characters you see in the picture above.