AlgoViz

Back-of-the-envelope calculations

easy 25 min

A back-of-the-envelope calculation is a quick, rounded sum that tells you whether a design is feasible.

Where it shows up

The same pattern appears across everyday software.

  • Design reviews

    A reviewer asks for the load behind each part. Two lines of arithmetic often remove a part.

  • Log volume

    20,000 requests a second with a 500-byte line is 10 MB a second, 864 GB a day. That is a bill, so teams sample before they ship.

  • Backups

    Copying 3 TB over a link that gives 100 MB a second takes 30,000 seconds, a bit over 8 hours. The window decides the method.

  • Batch jobs

    A billion rows at 50,000 a second is 20,000 seconds, about 5.6 hours. Split four ways it fits before breakfast.

  • Moving to the cloud

    Gigabytes stored and sent out are estimated before a migration, because both are paid for every month.

  • Incident triage

    "Can a bot alone make 40,000 a second?" A sum in the chat rules causes in or out before anyone opens a dashboard.