Vitess flow: from a SQL query to the right shard

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
Vitess flow in eleven steps: the application sends SQL to VTGate, VTGate reads the shard map from the topology service, sends writes to the primary of each shard and reads to the replicas, primaries replicate to replicas, VTOrc triggers failover of a failed primary, and vtctld manages the topology.