AiTeky Original Interactive Learning & Practice Intermediate
System design: estimate, cache and survive a spike
Learn to size a system on the back of an envelope before drawing any boxes, see how a cache changes both speed and load and what it costs in freshness, and design for a sudden twenty-fold spike in traffic.
System design is deciding how the parts of a software system fit together so that it works, stays fast and survives growth, within a budget. It starts not with a diagram but with numbers: how many users, how many requests, how much data. Those numbers tell you which designs are even possible.
This course models three ideas with small programs you can run in your browser: back-of-the-envelope estimates, caching, and designing for a spike. They use made-up figures; for a real design, use your own measurements. No real servers are involved.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
No prior experience is assumed. Basic Python helps.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 00 25 min 🔒 AiTeky Pass Start here: the parts of a system and how a request flows Meet the building blocks of nearly every online system, the client, the server, the database, the cache and the queue, and follow one request through them with simple timings.
- 01 30 min Free sample 🔒 AiTeky Pass Estimating on the back of an envelope Turn a number of users into requests per second, storage and bandwidth with a few simple multiplications, include the busy-hour factor, and see how a quick estimate rules designs in or out before anything is built.
- 02 30 min 🔒 AiTeky Pass Caching: speed, load and stale data Simulate a cache in front of a slow database with realistic uneven demand, see how a small cache can serve most requests and cut the database's load, and see the price of caching: data that can be out of date until it expires or is cleared.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

