GENAI 102
M02 · L09
System Design

How the Pieces Fit Together

System design is how the parts of your tool — the frontend, the backend, the database, and the outside services — fit together so the whole thing is fast enough and reliable enough for the people using it.

01 / 08
GENAI 102
M02 · L09
What to Design For

The Qualities That Matter

A handful of qualities decide whether a system feels good to use and stays standing under real traffic.

  • Latency — how fast a response feels to the user
  • Load — how many users and requests hit it at once
  • Scaling — handling more without falling over
  • Reliability — staying up, and failing gracefully when it can’t
02 / 08
GENAI 102
M02 · L09
The Biggest Lever

Do Less Work

The single biggest lever for speed is not doing work you can avoid. Store a result you can reuse, and don’t recompute what hasn’t changed.

Caching, in one line
Keep the answer to a request that costs a lot, and hand back the saved copy next time — instead of paying that cost again.
03 / 08
GENAI 102
M02 · L09
Two Ways to Grow

Scaling Shapes

When one machine isn’t enough, you can grow in two directions — and keeping each request self-contained is what makes the second one easy.

Vertical
A bigger machine — simple, but has a ceiling
Horizontal
More machines — works best when each request is stateless
04 / 08
GENAI 102
M02 · L09
Right-Sizing

Design For the Load You Actually Have

Most personal tools serve one person, or a few. Don’t over-engineer for millions of users you don’t have — the complexity is real and the traffic isn’t. Match the design to the load in front of you.

05 / 08
GENAI 102
Build It
Apply It to Your Capstone

Build It

How to implement: estimate your tool’s real load in one line — users × actions per day — and let that number decide how simple you’re allowed to keep it.

  • Weekly AI Tasks tracker — one user, a few messages a day: a tiny server and database are plenty; the cost that matters is the LLM calls, not the infrastructure.
  • Personal brand site — a static site is trivially fast and scales for free on a CDN; that’s the whole reliability story.
06 / 08
GENAI 102
Knowledge Check

Check what stuck

Three questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

07 / 08
GENAI 102
Summary
Recap

What You Learned

System design is fitting the pieces together for enough speed and reliability: watch latency, load, scaling and reliability; do less work by caching; scale up or out; and size the design to the load you really have.

08 / 08