{
 "type": "excalidraw",
 "version": 2,
 "source": "https://excalidraw.com",
 "elements": [
  {
   "id": "03-real-time-fanout-badge",
   "type": "rectangle",
   "x": 0,
   "y": 0,
   "width": 1400,
   "height": 300,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#a5d8ff",
   "fillStyle": "solid",
   "strokeWidth": 4,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 2063281257,
   "version": 1,
   "versionNonce": 2078054028,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-badge-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-badge-t",
   "type": "text",
   "x": 20,
   "y": 25,
   "width": 1360,
   "height": 250,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1339395519,
   "version": 1,
   "versionNonce": 368871839,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Fan-out",
   "originalText": "Fan-out",
   "fontSize": 200,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-badge",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-title",
   "type": "text",
   "x": 0,
   "y": 330,
   "width": 1400,
   "height": 40,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 618979931,
   "version": 1,
   "versionNonce": 438892468,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Real time fanout: one event, many open connections",
   "originalText": "Real time fanout: one event, many open connections",
   "fontSize": 32,
   "fontFamily": 5,
   "textAlign": "left",
   "verticalAlign": "middle",
   "containerId": null,
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-pub",
   "type": "ellipse",
   "x": 0,
   "y": 550,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#e7f5ff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1471609727,
   "version": 1,
   "versionNonce": 1137122203,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-pub-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e0"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e6"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-pub-t",
   "type": "text",
   "x": 10,
   "y": 566.0,
   "width": 160,
   "height": 40,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 2055665571,
   "version": 1,
   "versionNonce": 693373551,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Publisher\n(service or user)",
   "originalText": "Publisher\n(service or user)",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-pub",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-bus",
   "type": "rectangle",
   "x": 330,
   "y": 550,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#fff9db",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 99195380,
   "version": 1,
   "versionNonce": 881391735,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-bus-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e0"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e1"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e2"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-bus-t",
   "type": "text",
   "x": 340,
   "y": 566.0,
   "width": 160,
   "height": 40,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1553714998,
   "version": 1,
   "versionNonce": 629653100,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Pub/sub bus\n(Redis, Kafka, NATS)",
   "originalText": "Pub/sub bus\n(Redis, Kafka, NATS)",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-bus",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-g1",
   "type": "rectangle",
   "x": 660,
   "y": 400,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ebfbee",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 116146606,
   "version": 1,
   "versionNonce": 1280285447,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-g1-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e1"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e3"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e5"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-g1-t",
   "type": "text",
   "x": 670,
   "y": 416.0,
   "width": 160,
   "height": 40,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 390887331,
   "version": 1,
   "versionNonce": 1121481225,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Gateway shard 1\n(WebSockets)",
   "originalText": "Gateway shard 1\n(WebSockets)",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-g1",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-g2",
   "type": "rectangle",
   "x": 660,
   "y": 700,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ebfbee",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1574963608,
   "version": 1,
   "versionNonce": 717440071,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-g2-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e2"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e4"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-g2-t",
   "type": "text",
   "x": 670,
   "y": 716.0,
   "width": 160,
   "height": 40,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1527703408,
   "version": 1,
   "versionNonce": 956887592,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Gateway shard 2\n(WebSockets)",
   "originalText": "Gateway shard 2\n(WebSockets)",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-g2",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-reg",
   "type": "rectangle",
   "x": 330,
   "y": 400,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#f3f0ff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1415900355,
   "version": 1,
   "versionNonce": 957956675,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-reg-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e5"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-reg-t",
   "type": "text",
   "x": 340,
   "y": 416.0,
   "width": 160,
   "height": 40,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 838145800,
   "version": 1,
   "versionNonce": 1028162214,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Connection registry\n(user -> gateway)",
   "originalText": "Connection registry\n(user -> gateway)",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-reg",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-hist",
   "type": "rectangle",
   "x": 330,
   "y": 700,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#f3f0ff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1720926263,
   "version": 1,
   "versionNonce": 973838694,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-hist-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e6"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-hist-t",
   "type": "text",
   "x": 340,
   "y": 716.0,
   "width": 160,
   "height": 40,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 858641202,
   "version": 1,
   "versionNonce": 2116481899,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Message history\n(for reconnect)",
   "originalText": "Message history\n(for reconnect)",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-hist",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-c1",
   "type": "ellipse",
   "x": 990,
   "y": 400,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#e7f5ff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1527129487,
   "version": 1,
   "versionNonce": 124468791,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-c1-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e3"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-c1-t",
   "type": "text",
   "x": 1000,
   "y": 426.0,
   "width": 160,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 119988829,
   "version": 1,
   "versionNonce": 1200093500,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Clients",
   "originalText": "Clients",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-c1",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-c2",
   "type": "ellipse",
   "x": 990,
   "y": 700,
   "width": 180,
   "height": 72,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#e7f5ff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 2028255630,
   "version": 1,
   "versionNonce": 1113145427,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-c2-t"
    },
    {
     "type": "arrow",
     "id": "03-real-time-fanout-e4"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-c2-t",
   "type": "text",
   "x": 1000,
   "y": 726.0,
   "width": 160,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 831698693,
   "version": 1,
   "versionNonce": 1478675320,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Clients",
   "originalText": "Clients",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-c2",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-e0",
   "type": "arrow",
   "x": 180.0,
   "y": 586.0,
   "width": 150.0,
   "height": 0.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1920828234,
   "version": 1,
   "versionNonce": 1501175504,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-e0-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     150.0,
     0.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": {
    "elementId": "03-real-time-fanout-pub",
    "focus": 0,
    "gap": 4
   },
   "endBinding": {
    "elementId": "03-real-time-fanout-bus",
    "focus": 0,
    "gap": 4
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false
  },
  {
   "id": "03-real-time-fanout-e0-t",
   "type": "text",
   "x": 235.0,
   "y": 576.0,
   "width": 40,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1566099206,
   "version": 1,
   "versionNonce": 345908636,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "event",
   "originalText": "event",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-e0",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-e1",
   "type": "arrow",
   "x": 499.2,
   "y": 550.0,
   "width": 171.59999999999997,
   "height": 78.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 946878465,
   "version": 1,
   "versionNonce": 438761610,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-e1-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     171.59999999999997,
     -78.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": {
    "elementId": "03-real-time-fanout-bus",
    "focus": 0,
    "gap": 4
   },
   "endBinding": {
    "elementId": "03-real-time-fanout-g1",
    "focus": 0,
    "gap": 4
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false
  },
  {
   "id": "03-real-time-fanout-e1-t",
   "type": "text",
   "x": 549.0,
   "y": 501.0,
   "width": 72,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 974295421,
   "version": 1,
   "versionNonce": 2018978167,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "topic sub",
   "originalText": "topic sub",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-e1",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-e2",
   "type": "arrow",
   "x": 499.2,
   "y": 622.0,
   "width": 171.59999999999997,
   "height": 78.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 844846558,
   "version": 1,
   "versionNonce": 1450571438,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-e2-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     171.59999999999997,
     78.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": {
    "elementId": "03-real-time-fanout-bus",
    "focus": 0,
    "gap": 4
   },
   "endBinding": {
    "elementId": "03-real-time-fanout-g2",
    "focus": 0,
    "gap": 4
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false
  },
  {
   "id": "03-real-time-fanout-e2-t",
   "type": "text",
   "x": 549.0,
   "y": 651.0,
   "width": 72,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 877776916,
   "version": 1,
   "versionNonce": 2072980150,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "topic sub",
   "originalText": "topic sub",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-e2",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-e3",
   "type": "arrow",
   "x": 840.0,
   "y": 436.0,
   "width": 150.0,
   "height": 0.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 8196149,
   "version": 1,
   "versionNonce": 2059322682,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-e3-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     150.0,
     0.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": {
    "elementId": "03-real-time-fanout-g1",
    "focus": 0,
    "gap": 4
   },
   "endBinding": {
    "elementId": "03-real-time-fanout-c1",
    "focus": 0,
    "gap": 4
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false
  },
  {
   "id": "03-real-time-fanout-e3-t",
   "type": "text",
   "x": 899.0,
   "y": 426.0,
   "width": 32,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1477498383,
   "version": 1,
   "versionNonce": 364120812,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "push",
   "originalText": "push",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-e3",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-e4",
   "type": "arrow",
   "x": 840.0,
   "y": 736.0,
   "width": 150.0,
   "height": 0.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 514982154,
   "version": 1,
   "versionNonce": 1668748296,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-e4-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     150.0,
     0.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": {
    "elementId": "03-real-time-fanout-g2",
    "focus": 0,
    "gap": 4
   },
   "endBinding": {
    "elementId": "03-real-time-fanout-c2",
    "focus": 0,
    "gap": 4
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false
  },
  {
   "id": "03-real-time-fanout-e4-t",
   "type": "text",
   "x": 899.0,
   "y": 726.0,
   "width": 32,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 856070306,
   "version": 1,
   "versionNonce": 2053134994,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "push",
   "originalText": "push",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-e4",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-e5",
   "type": "arrow",
   "x": 660.0,
   "y": 436.0,
   "width": 150.0,
   "height": 0.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "dashed",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 766744960,
   "version": 1,
   "versionNonce": 1863693998,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-e5-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     -150.0,
     0.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": {
    "elementId": "03-real-time-fanout-g1",
    "focus": 0,
    "gap": 4
   },
   "endBinding": {
    "elementId": "03-real-time-fanout-reg",
    "focus": 0,
    "gap": 4
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false
  },
  {
   "id": "03-real-time-fanout-e5-t",
   "type": "text",
   "x": 553.0,
   "y": 426.0,
   "width": 64,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1428150522,
   "version": 1,
   "versionNonce": 372587780,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "register",
   "originalText": "register",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-e5",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-e6",
   "type": "arrow",
   "x": 169.2,
   "y": 622.0,
   "width": 171.60000000000002,
   "height": 78.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "dashed",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1700113407,
   "version": 1,
   "versionNonce": 1989259376,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-e6-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     171.60000000000002,
     78.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": {
    "elementId": "03-real-time-fanout-pub",
    "focus": 0,
    "gap": 4
   },
   "endBinding": {
    "elementId": "03-real-time-fanout-hist",
    "focus": 0,
    "gap": 4
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false
  },
  {
   "id": "03-real-time-fanout-e6-t",
   "type": "text",
   "x": 227.0,
   "y": 651.0,
   "width": 56,
   "height": 20,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1723943247,
   "version": 1,
   "versionNonce": 364725392,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "persist",
   "originalText": "persist",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-e6",
   "lineHeight": 1.25,
   "autoResize": true
  },
  {
   "id": "03-real-time-fanout-notes",
   "type": "rectangle",
   "x": 0,
   "y": 850,
   "width": 420,
   "height": 176,
   "angle": 0,
   "strokeColor": "#e67700",
   "backgroundColor": "#ffec99",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 682281554,
   "version": 1,
   "versionNonce": 730160160,
   "isDeleted": false,
   "boundElements": [
    {
     "type": "text",
     "id": "03-real-time-fanout-notes-t"
    }
   ],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "03-real-time-fanout-notes-t",
   "type": "text",
   "x": 12,
   "y": 860,
   "width": 396,
   "height": 156,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 545625653,
   "version": 1,
   "versionNonce": 118321418,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Trade-offs to raise\n\u2022 WebSocket vs SSE vs long poll\n\u2022 Shard gateways by user or topic\n\u2022 Reconnect: resume from last seq id\n\u2022 Batch/coalesce hot topics\n\u2022 Fallback to polling",
   "originalText": "Trade-offs to raise\n\u2022 WebSocket vs SSE vs long poll\n\u2022 Shard gateways by user or topic\n\u2022 Reconnect: resume from last seq id\n\u2022 Batch/coalesce hot topics\n\u2022 Fallback to polling",
   "fontSize": 16,
   "fontFamily": 5,
   "textAlign": "left",
   "verticalAlign": "middle",
   "containerId": "03-real-time-fanout-notes",
   "lineHeight": 1.25,
   "autoResize": true
  }
 ],
 "appState": {
  "viewBackgroundColor": "#ffffff",
  "gridSize": 20
 },
 "files": {}
}