{
  "id": "bbg-p0089-backend-service-architecture-backend-service",
  "title": "Social App Backend Core Flow",
  "chapter": "backend-service-architecture",
  "batch": "16",
  "rank": 159,
  "sourcePage": 89,
  "sourcePointer": "p. 89",
  "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 inspected",
      "preserve social-system topology: client action, API gateway, backend service, object/media storage, metadata DB, cache, feed fanout, background workers, and notifications",
      "omit source brand names, logos, and decorative screenshot details"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: client action",
      "concept: gateway to backend",
      "concept: database metadata",
      "concept: media/object storage",
      "concept: feed generation and background workers"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "entry",
      "label": "User request",
      "x": 52,
      "y": 122,
      "w": 184,
      "h": 318
    },
    {
      "id": "backend",
      "label": "Backend services",
      "x": 292,
      "y": 122,
      "w": 326,
      "h": 318
    },
    {
      "id": "data",
      "label": "Data and async",
      "x": 674,
      "y": 122,
      "w": 232,
      "h": 318
    }
  ],
  "shapes": [
    {
      "id": "user",
      "kind": "actor",
      "label": "User app",
      "detail": "like upload follow",
      "x": 96,
      "y": 180,
      "w": 82,
      "h": 88,
      "tone": "blue"
    },
    {
      "id": "gateway",
      "kind": "gateway",
      "label": "API gateway",
      "detail": "entry",
      "x": 104,
      "y": 322,
      "w": 112,
      "h": 74,
      "tone": "orange"
    },
    {
      "id": "api",
      "kind": "rect",
      "label": "Backend API",
      "detail": "business rules",
      "x": 342,
      "y": 172,
      "w": 122,
      "h": 62,
      "tone": "purple"
    },
    {
      "id": "media",
      "kind": "rect",
      "label": "Media service",
      "detail": "image video",
      "x": 342,
      "y": 318,
      "w": 122,
      "h": 62,
      "tone": "green"
    },
    {
      "id": "feed",
      "kind": "hex",
      "label": "Feed service",
      "detail": "ranking fanout",
      "x": 504,
      "y": 242,
      "w": 112,
      "h": 78,
      "tone": "teal"
    },
    {
      "id": "db",
      "kind": "cylinder",
      "label": "Metadata DB",
      "detail": "users posts",
      "x": 704,
      "y": 152,
      "w": 116,
      "h": 74,
      "tone": "green"
    },
    {
      "id": "object",
      "kind": "cylinder",
      "label": "Object store",
      "detail": "media blobs",
      "x": 704,
      "y": 282,
      "w": 116,
      "h": 74,
      "tone": "blue"
    },
    {
      "id": "workers",
      "kind": "queue",
      "label": "Workers",
      "detail": "notify process",
      "x": 704,
      "y": 392,
      "w": 116,
      "h": 50,
      "tone": "purple"
    }
  ],
  "connectors": [
    {
      "from": "user",
      "to": "gateway",
      "label": "action",
      "flow": "main"
    },
    {
      "from": "gateway",
      "to": "api",
      "label": "route",
      "flow": "main"
    },
    {
      "from": "api",
      "to": "media",
      "label": "upload",
      "flow": "data"
    },
    {
      "from": "api",
      "to": "feed",
      "label": "event",
      "flow": "async"
    },
    {
      "from": "api",
      "to": "db",
      "label": "metadata",
      "flow": "data"
    },
    {
      "from": "media",
      "to": "object",
      "label": "store",
      "flow": "data"
    },
    {
      "from": "feed",
      "to": "workers",
      "label": "fanout",
      "flow": "async"
    },
    {
      "from": "workers",
      "to": "db",
      "label": "update",
      "flow": "data",
      "dashed": true
    }
  ]
}
