System Design Visualized
Lesson 13.5

Data gathering service

Play this lessonThis lesson comes with an interactive animation you can break and a chapter quiz.

Updating the trie on every single query (billions per day) would slow down the query service. And top suggestions don't change much minute to minute. So the trie is rebuilt periodically (e.g. weekly) by a pipeline:

The rest of this lesson is part of Pro

Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.

See Pro

Remember it, then prove it

Create a free account to save your progress, get spaced-repetition reviews of what you miss, and design real systems in the interview simulator.

Start free