You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Stateless servers: why a growing website can forget who you are

What happens when a website goes viral: how a site keeps up with millions of visitors

Database bottlenecks: why more web servers can make a site slower

A website is slow, so you add web servers. The website gets even slower, and every web server waits with nothing to do. The slow part is now the one part that all the servers share.

  1. 1 Forty servers stand ready at 9:05, and the page still crawls. Watch one of them. Miva's request reaches it at once, and it has plenty of room for more, but it sits and waits.server 12

    Forty servers stand ready at 9:05, and the page still crawls. Watch one of them. Miva's request reaches it at once, and it has plenty of room for more, but it sits and waits.

  2. 2 To answer her, it needs things it no longer keeps itself. So it sends a question on and waits for the reply, and the other 39 servers wait in just the same way.server 12Stillwaiting?

    To answer her, it needs things it no longer keeps itself. So it sends a question on and waits for the reply, and the other 39 servers wait in just the same way.

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode Caching: why the millionth visitor can be served faster than the first

Share this comic

More comics