educative.io

Why are we caching the indices within the indexing job in local storage?

I understand why there’s a cache available for the search nodes, to make search faster since it does not have to get indices from the distributed storage. But why is there a similar local storage/cache for the indexing process?


Course: Grokking Modern System Design Interview for Engineers & Managers - Learn Interactively
Lesson: Scaling Search and Indexing - Grokking Modern System Design Interview for Engineers & Managers