educative.io

Educative

https://www.educative.io/courses/grokking-the-system-design-interview/m2G48X18NDO

Hi,
Could you please tell what does aggregator servers do in this example.
Thanks


Type your question above this line.

Course: https://www.educative.io/collection/5668639101419520/5649050225344512
Lesson: https://www.educative.io/collection/page/5668639101419520/5649050225344512/5741031244955648

@Jyoti Hi, Aggregation server job is to gather all the results from all the DB shards for a specific search(this search could be collecting all the latest tweets to generate the feeds or search to collect all recent tweets related to one user which happens when you visit other person page) Aggregate means to collect together all the chunks from different shards and then bundle them into one result and give it back to the app server to give to the user as a result on their page.