part III · chapter 15 of 17

AI architecture and system design

Designing AI systems that scale, recover from failure and stay affordable.

why it matters

Where backend experience becomes the edge: draw the system and defend every box.

before this: chapter 14, Deployment and LLMOps

being written

This chapter is being written. Here is what it will cover; until then, the full topic list is in our notes.

  • monoliths, services, events and queues
  • scaling, circuit breakers, idempotency, backpressure
  • multi-tenancy and consistency
  • provider abstraction, capacity and cost
the topic list on GitHub (opens in a new tab)

you reached the end of the chapter

build this

Draw the architecture of Project 3 with one line on why each component is there.

the maths underneath

  • maths note 10

    Production numbers: percentiles, throughput, cost

    E[c]=h⋅chit+(1−h)⋅cmiss\mathbb{E}[c] = h \cdot c_{hit} + (1 - h) \cdot c_{miss}

    Dashboards, budgets, routing and caching decisions are all these numbers.

check yourself

Tick what you could explain to someone else, out loud, without notes.