{
  "id": "bbg-p0334-networking-protocols-and-edge-networking",
  "title": "TCP and UDP Tradeoff",
  "chapter": "networking-protocols-and-edge",
  "batch": "11",
  "rank": 102,
  "sourcePage": 334,
  "sourcePointer": "p. 334",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "comparison",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render inspected",
      "preserve TCP versus UDP comparison: connection setup, reliability, ordering, flow control, overhead, speed, and use cases including QUIC/HTTP3",
      "omit source branding, copied table text, and decorative packet artwork"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: TCP reliable ordered delivery",
      "concept: UDP connectionless speed",
      "concept: flow and congestion control",
      "concept: gaming and streaming",
      "concept: HTTP/3 over QUIC"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "tcp",
      "label": "TCP",
      "x": 80,
      "y": 132,
      "w": 350,
      "h": 300
    },
    {
      "id": "udp",
      "label": "UDP",
      "x": 530,
      "y": 132,
      "w": 350,
      "h": 300
    }
  ],
  "shapes": [
    {
      "id": "tcpConn",
      "kind": "rect",
      "label": "Connection",
      "detail": "handshake",
      "x": 128,
      "y": 170,
      "w": 128,
      "h": 58,
      "tone": "blue"
    },
    {
      "id": "tcpReli",
      "kind": "rect",
      "label": "Reliable ordered",
      "detail": "retransmit",
      "x": 278,
      "y": 254,
      "w": 128,
      "h": 58,
      "tone": "green"
    },
    {
      "id": "tcpUse",
      "kind": "rect",
      "label": "Web email files",
      "detail": "accuracy",
      "x": 128,
      "y": 338,
      "w": 128,
      "h": 58,
      "tone": "purple"
    },
    {
      "id": "udpConn",
      "kind": "rect",
      "label": "No handshake",
      "detail": "send fast",
      "x": 578,
      "y": 170,
      "w": 128,
      "h": 58,
      "tone": "orange"
    },
    {
      "id": "udpReli",
      "kind": "rect",
      "label": "No guarantee",
      "detail": "low overhead",
      "x": 728,
      "y": 254,
      "w": 128,
      "h": 58,
      "tone": "red"
    },
    {
      "id": "udpUse",
      "kind": "rect",
      "label": "Gaming streams",
      "detail": "real time",
      "x": 578,
      "y": 338,
      "w": 128,
      "h": 58,
      "tone": "teal"
    },
    {
      "id": "quic",
      "kind": "diamond",
      "label": "QUIC",
      "detail": "reliability on UDP",
      "x": 414,
      "y": 456,
      "w": 132,
      "h": 84,
      "tone": "gray"
    }
  ],
  "connectors": [
    {
      "from": "tcpConn",
      "to": "tcpReli",
      "label": "controls",
      "flow": "main"
    },
    {
      "from": "tcpReli",
      "to": "tcpUse",
      "label": "fits",
      "flow": "data"
    },
    {
      "from": "udpConn",
      "to": "udpReli",
      "label": "speed",
      "flow": "main"
    },
    {
      "from": "udpReli",
      "to": "udpUse",
      "label": "fits",
      "flow": "data"
    },
    {
      "from": "udpConn",
      "to": "quic",
      "label": "base",
      "flow": "async"
    },
    {
      "from": "quic",
      "to": "tcpReli",
      "label": "adds reliability",
      "flow": "control",
      "dashed": true
    }
  ]
}
