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 Autoscaling: why adding servers by itself can still come too late

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

Load shedding and rate limiting: why turning some visitors away keeps a website up for the rest

A famous person shares a link. In a few minutes, millions of people tap it, and that is more than all the servers can handle. Big websites then do something that looks rude. They do it on purpose, and it keeps the website fast for most visitors.

  1. 1 Ten million taps arrive in a few minutes. The edge servers hand out the files, but the guesses alone fill every server you have, and the new ones the autoscaler starts need minutes.10,000,000 tapsfullfullfullfullstarting

    Ten million taps arrive in a few minutes. The edge servers hand out the files, but the guesses alone fill every server you have, and the new ones the autoscaler starts need minutes.

  2. 2 Let every request in, and the first morning comes back: one long line, a wait that grows for everyone, and timeouts for all. Even the players your servers could have served get nothing.waitingtimeout

    Let every request in, and the first morning comes back: one long line, a wait that grows for everyone, and timeouts for all. Even the players your servers could have served get nothing.

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

You finished the comic Back to the comic

Share this comic

More comics