Skip to content

Glossary: System Design Beyond the Basics in Java

Local / global index

Also written: local index, global index

A local index is kept per shard: writes stay on one shard but queries ask every shard. A global index is partitioned by the indexed value: queries ask one place but writes touch two shards.

Where the book teaches it

Related terms

Secondary index