{
  "id": "bbg-p0220-database-foundations-database-foundations-database",
  "title": "MongoDB Request Routing",
  "chapter": "database-foundations",
  "batch": "16",
  "rank": 152,
  "sourcePage": 220,
  "sourcePointer": "p. 220",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "architecture",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render and extracted text inspected",
      "preserve MongoDB topology: client driver, mongos query router, config metadata, shards, replica sets, and document collections",
      "omit brand marks and tiny source icons"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: client driver",
      "concept: query router",
      "concept: shard key",
      "concept: config server",
      "concept: shards and replicas"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "client",
      "label": "Client side",
      "x": 52,
      "y": 142,
      "w": 188,
      "h": 252
    },
    {
      "id": "routing",
      "label": "Routing metadata",
      "x": 292,
      "y": 142,
      "w": 286,
      "h": 252
    },
    {
      "id": "shards",
      "label": "Sharded storage",
      "x": 638,
      "y": 112,
      "w": 268,
      "h": 352
    }
  ],
  "shapes": [
    {
      "id": "app",
      "kind": "actor",
      "label": "App",
      "detail": "read write",
      "x": 96,
      "y": 190,
      "w": 82,
      "h": 86,
      "tone": "blue"
    },
    {
      "id": "driver",
      "kind": "rect",
      "label": "Driver",
      "detail": "protocol",
      "x": 90,
      "y": 310,
      "w": 112,
      "h": 54,
      "tone": "green"
    },
    {
      "id": "mongos",
      "kind": "gateway",
      "label": "Query router",
      "detail": "mongos",
      "x": 350,
      "y": 194,
      "w": 132,
      "h": 78,
      "tone": "orange"
    },
    {
      "id": "config",
      "kind": "cylinder",
      "label": "Config servers",
      "detail": "shard map",
      "x": 384,
      "y": 318,
      "w": 132,
      "h": 74,
      "tone": "purple"
    },
    {
      "id": "shard1",
      "kind": "cylinder",
      "label": "Shard A",
      "detail": "replica set",
      "x": 686,
      "y": 142,
      "w": 126,
      "h": 74,
      "tone": "teal"
    },
    {
      "id": "shard2",
      "kind": "cylinder",
      "label": "Shard B",
      "detail": "replica set",
      "x": 686,
      "y": 264,
      "w": 126,
      "h": 74,
      "tone": "teal"
    },
    {
      "id": "shard3",
      "kind": "cylinder",
      "label": "Shard C",
      "detail": "replica set",
      "x": 686,
      "y": 386,
      "w": 126,
      "h": 74,
      "tone": "teal"
    }
  ],
  "connectors": [
    {
      "from": "app",
      "to": "driver",
      "label": "operations",
      "flow": "main"
    },
    {
      "from": "driver",
      "to": "mongos",
      "label": "query",
      "flow": "main"
    },
    {
      "from": "mongos",
      "to": "config",
      "label": "lookup",
      "flow": "data"
    },
    {
      "from": "mongos",
      "to": "shard1",
      "label": "route",
      "flow": "main"
    },
    {
      "from": "mongos",
      "to": "shard2",
      "label": "route",
      "flow": "main"
    },
    {
      "from": "mongos",
      "to": "shard3",
      "label": "route",
      "flow": "main"
    }
  ]
}
