Design of a Distributed Search

Get an overview of the design of a distributed search system that manages a large number of queries per second.

High-level design

Let’s shape the overall design of a distributed search system before getting into a detailed discussion. There are two phases of such a system, as shown in the illustration below. The offline phase involves data crawling and indexing in which the user has to do nothing. The online phase consists of searching for results against the search query by the user.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.