Skip to content

Glossary: System Design Beyond the Basics in Go

Local / global index

Also written: local index, global index

Two kinds of secondary index: a local one is kept per shard (cheap writes, queries ask every shard), a global one is partitioned by the indexed value (one-place queries, costlier writes).

Where the book teaches it

Related terms

Secondary indexScatter-gather