Sharding & replication
medium 30 minScale a database past one machine by splitting rows over shards, and keep it available by copying every shard.
In-memory sharded router with replication and WAL tracking
Read it, run it, change a line and run it again.
Loading editor…
Shows fixed hash routing, log positions, replication lag, and a read that needs its own write. Replicas that are behind are skipped.