educative.io

Educative

Concern about Indexer

Hi all
There is a say: Once the chunks are successfully submitted/downloaded to the Cloud Storage, the Indexer will communicate with the remote Synchronization Service to broadcast changes to other clients and update the remote metadata database.

But as high level picture, it seems like Synchronization Service is called after Metaserver
finished submitted, not from Indexer.

So which one is correct?
Thanks.

Hi Hoang,
Both are correct. The image above is the high-level design, and the statement is just for communication between clients. Synchronization servers handle the workflow of notifying all clients about different changes for synchronization. Indexer is part of clients that communicate with the remote Synchronization Service to broadcast changes to other clients and update the remote metadata database as shown in Client architecture. When the Client wants to notify other clients, it uses a synchronization server.