Secondary Index Topology — Four Base Shards, Two Index Shards

Secondary Index Topology — Four Base Shards, Two Index Shards An architecture diagram generated by Archify. Reader / Writer · knows record id · Architecture component Reader / Writer knows record id Request router · base + term maps · Architecture component · shard-aware Request router base + term maps shard-aware Base shard 0 · records by id · sharded store: 4 base shards, 2 index shards Base shard 0 records by id Base shard 1 · records by id · sharded store: 4 base shards, 2 index shards Base shard 1 records by id Base shard 2 · records by id · sharded store: 4 base shards, 2 index shards Base shard 2 records by id Base shard 3 · records by id · sharded store: 4 base shards, 2 index shards Base shard 3 records by id Outbox relay · versioned events · Architecture component · async Outbox relay versioned events async Index shard A · terms, hash split · sharded store: 4 base shards, 2 index shards Index shard A terms, hash split Index shard B · terms, hash split · sharded store: 4 base shards, 2 index shards Index shard B terms, hash split Tripwire monitor · fan-out + lag · Architecture component · alerts Tripwire monitor fan-out + lag alerts keyed request to owning shard term lookup second term CDC events index writes index writes fan-out + lag metrics sharded store: 4 base shards, 2 index shards Legend Database Cloud Security Message bus External