High Availability and Scaling

LEVEL 0

The Problem

You have one instance of your app running. It’s handling requests fine.

Then:

  • Traffic spikes 10x during a sale
  • The container crashes due to a bug
  • The host machine dies

Your app is down. Users get errors. Revenue is lost.

Single instances are single points of failure.