Skip to content

Glossary: System Design Beyond the Basics in C++

Local index / global index

Also written: local index, global index

Two kinds of secondary index. A local index is kept per shard, so writes are cheap but queries ask every shard. A global index is partitioned by the indexed value, so queries ask one place but writes touch two shards and the index can lag.

Where the book teaches it

Related terms

Secondary indexScatter-gather