Learn / macOS

Learn the building blocks of system design

Study a design decision, trace its request path, and apply it in a design prompt.

System Design learning with concepts, worked examples, and practice links.
System Design learning with concepts, worked examples, and practice links. Select the image to enlarge.
  1. Start with a decision

    Read the lesson and name the constraint that makes the technique useful. Identify a cost or failure the technique introduces.

    Example

    A cache can reduce repeated reads for popular links. It adds the possibility of stale values and requires an invalidation policy.

  2. Trace two paths

    Use the worked example, visualization, or checkpoint to follow the normal path and an exception.

    Example

    A cache hit returns the mapping directly. A miss queries the store, then fills the cache. Explain what changes if a link is edited.

  3. Use Apply on Board where offered

    Open the linked design activity and include the technique only when the prompt’s requirements justify it. Label the relevant flows and state a trade-off.

    Example

    Put the cache on the redirect path in a URL shortener. Keep creation and expiration visible on the board so you can discuss consistency.

Check your work

You can say when you would use the technique and trace the behavior when it fails or misses.

Try it yourself

Open a replication or caching lesson and compare two reads after an update. Predict what a replica or cache might return before reading the worked explanation.

What to look for
Identify which component may lag, what the client can observe, and whether the requirement allows a stale read. Draw the extra request or invalidation only if it addresses that requirement.