The API and the data model first

Lesson 3 of 26 · A method you can repeat · 2 min Get the course to watch

Before any boxes, write down what clients can ask for and what you must remember. The API and the data model are the two most expensive things to change later, because other people's code and a pile of stored data both depend on them.

So we sketch them early, and we sketch them from the access patterns: who asks for what, how often, and how much comes back. Boxes can wait.

The rest of this lesson

  • The api surface
  • Two judgement calls
  • The data model
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.