Search is a derived copy

Lesson 9 of 26 · Building blocks and when they earn their place · 2 min Get the course to watch

Databases are good at finding a row by its key. They are less happy when you ask which of fifty million passages mention a phrase. For that you build a search index, and the moment you do, you own a second copy of your data. The design question is how to keep that copy honest.

The rest of this lesson

  • What an index does
  • Truth below copy above
  • The dual write trap
  • Do you need a separate engine

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.