Worked design answers

One file per design, each a full transcript rather than a diagram: clarify, capacity math, API contract, data model and partition key, architecture, the deep dive on the hardest component, failure modes and degradation, then tradeoffs and what changes at ten times the scale.

The two designs already fully worked in the source document (the distributed rate limiter and RAG with document-level access control) are the length and depth target for every other design here. If a design in this chapter is shorter than those, it is not finished.

What this chapter covers

Source: §43, §44, §45.