DiagramHub · Gallery

Database Sharding Architecture Diagram

Live diagram ↗
Diagram source (application/json)
{
 "schema_version": 1,
 "diagram_type": "architecture",
 "meta": {
  "title": "database sharding: shard router hashes tenant id to shard cl"
 },
 "components": [
  {
   "id": "n1",
   "type": "backend",
   "label": "database sharding: shard router hashes t",
   "pos": [
    40,
    300
   ],
   "size": [
    340,
    60
   ]
  },
  {
   "id": "n2",
   "type": "backend",
   "label": "shard cluster",
   "pos": [
    450,
    300
   ],
   "size": [
    150,
    60
   ]
  },
  {
   "id": "n3",
   "type": "backend",
   "label": "each shard is primary plus replica set",
   "pos": [
    670,
    300
   ],
   "size": [
    329,
    60
   ]
  },
  {
   "id": "n4",
   "type": "backend",
   "label": "coordinator joins cross shard queries",
   "pos": [
    1069,
    300
   ],
   "size": [
    322,
    60
   ]
  }
 ],
 "connections": [
  {
   "from": "n1",
   "to": "n2"
  },
  {
   "from": "n2",
   "to": "n3"
  },
  {
   "from": "n3",
   "to": "n4"
  }
 ]
}

Published 2026-09-25T20:22:56.952Z · 777 KB self-contained · sha256 970163ffa0914b301bb074bb7bac5e35287cef3da48891593ebcac8dde7b2f94