{
 "type": "excalidraw",
 "version": 2,
 "source": "barista-rs post",
 "elements": [
  {
   "id": "t346b0d75985d",
   "type": "text",
   "x": 0,
   "y": 0,
   "width": 964.96,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1001928,
   "version": 1,
   "versionNonce": 649677951,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "barista-rs v6: one shared queue, SFQ per tenant, PostgreSQL as the only truth",
   "originalText": "barista-rs v6: one shared queue, SFQ per tenant, PostgreSQL as the only truth",
   "fontSize": 24,
   "fontFamily": 5,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r33f3895fd7b3",
   "type": "rectangle",
   "x": 0,
   "y": 80,
   "width": 230,
   "height": 170,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#f8f9fa",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1561692719,
   "version": 1,
   "versionNonce": 109525498,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t4c0e6050914a",
     "type": "text"
    },
    {
     "id": "ab61d2ac34446",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t4c0e6050914a",
   "type": "text",
   "x": 31.099999999999994,
   "y": 118.125,
   "width": 167.8,
   "height": 93.75,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1083438814,
   "version": 1,
   "versionNonce": 1492026737,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "SaaS application\n\nmulti-tenant\ntiers: Free, Bronze,\nSilver, Gold, Diamond",
   "originalText": "SaaS application\n\nmulti-tenant\ntiers: Free, Bronze,\nSilver, Gold, Diamond",
   "fontSize": 15,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r33f3895fd7b3",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "rba739a2ef80f",
   "type": "rectangle",
   "x": 380,
   "y": 60,
   "width": 330,
   "height": 230,
   "angle": 0,
   "strokeColor": "#1971c2",
   "backgroundColor": "#e7f5ff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 2036465042,
   "version": 1,
   "versionNonce": 527603371,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "ab61d2ac34446",
     "type": "arrow"
    },
    {
     "id": "acd26d17e4497",
     "type": "arrow"
    },
    {
     "id": "aef7bf7b103df",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "tee96fa529ba3",
   "type": "text",
   "x": 430.68,
   "y": 72,
   "width": 228.64000000000001,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#1971c2",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 2063281256,
   "version": 1,
   "versionNonce": 2078054027,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Dispatcher replicas 1..N",
   "originalText": "Dispatcher replicas 1..N",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "t2bf94fd58dbe",
   "type": "text",
   "x": 395,
   "y": 105,
   "width": 347.2,
   "height": 130.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 618979930,
   "version": 1,
   "versionNonce": 438892467,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "client API: submit, cancel, status\n\ndispatch loop (per Ready credit):\n  one transaction, singleton lock\n  Prefer-Fit -> lowest tag -> tier -> FIFO\n\nreaper: every few seconds, idempotent\noutbox relay: status updates to the SaaS app",
   "originalText": "client API: submit, cancel, status\n\ndispatch loop (per Ready credit):\n  one transaction, singleton lock\n  Prefer-Fit -> lowest tag -> tier -> FIFO\n\nreaper: every few seconds, idempotent\noutbox relay: status updates to the SaaS app",
   "fontSize": 13,
   "fontFamily": 3,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "raf6dbfeaa155",
   "type": "rectangle",
   "x": 860,
   "y": 40,
   "width": 330,
   "height": 270,
   "angle": 0,
   "strokeColor": "#e8590c",
   "backgroundColor": "#fff9db",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1137122202,
   "version": 1,
   "versionNonce": 2055665570,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "acd26d17e4497",
     "type": "arrow"
    },
    {
     "id": "a64386bd8c676",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t691105e999f3",
   "type": "text",
   "x": 891.96,
   "y": 52,
   "width": 266.08,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#e8590c",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1553714997,
   "version": 1,
   "versionNonce": 629653099,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "PostgreSQL (source of truth)",
   "originalText": "PostgreSQL (source of truth)",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "t0dd8ea057543",
   "type": "text",
   "x": 875,
   "y": 85,
   "width": 313.59999999999997,
   "height": 195.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1280285446,
   "version": 1,
   "versionNonce": 390887330,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "tenants        tier, multiplier, cap,\n               running, finish_tag,\n               usage, usage_updated_at\n\njobs           state, size, est_cost,\n               enqueue_seq, attempt,\n               failures, start_tag,\n               weight_at_dispatch,\n               worker_id, lease_expires_at,\n               timeout_at, cancel_requested\n\nscheduler_state  id = 1, virtual_now\noutbox           status events",
   "originalText": "tenants        tier, multiplier, cap,\n               running, finish_tag,\n               usage, usage_updated_at\n\njobs           state, size, est_cost,\n               enqueue_seq, attempt,\n               failures, start_tag,\n               weight_at_dispatch,\n               worker_id, lease_expires_at,\n               timeout_at, cancel_requested\n\nscheduler_state  id = 1, virtual_now\noutbox           status events",
   "fontSize": 12,
   "fontFamily": 3,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "ab61d2ac34446",
   "type": "arrow",
   "x": 230,
   "y": 165,
   "width": 150,
   "height": 0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 956887591,
   "version": 1,
   "versionNonce": 1415900354,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     150,
     0
    ]
   ],
   "startBinding": {
    "elementId": "r33f3895fd7b3",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "rba739a2ef80f",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "t7232a2eddbbd",
   "type": "text",
   "x": 234.36,
   "y": 120.0,
   "width": 141.28,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 838145799,
   "version": 1,
   "versionNonce": 1028162213,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "submit(job, est_cost,\nsize, idempotency_key)",
   "originalText": "submit(job, est_cost,\nsize, idempotency_key)",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "acd26d17e4497",
   "type": "arrow",
   "x": 710,
   "y": 175,
   "width": 150,
   "height": 0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 973838693,
   "version": 1,
   "versionNonce": 858641201,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     150,
     0
    ]
   ],
   "startBinding": {
    "elementId": "rba739a2ef80f",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "raf6dbfeaa155",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": "arrow",
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "tfc4d8483f8b8",
   "type": "text",
   "x": 736.2,
   "y": 135.0,
   "width": 97.60000000000001,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1527129486,
   "version": 1,
   "versionNonce": 124468790,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "one dispatch =\none transaction",
   "originalText": "one dispatch =\none transaction",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r0e4dfd56a926",
   "type": "rectangle",
   "x": 380,
   "y": 380,
   "width": 810,
   "height": 265,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "#ebfbee",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "dashed",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1200093499,
   "version": 1,
   "versionNonce": 2028255629,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "aef7bf7b103df",
     "type": "arrow"
    },
    {
     "id": "a64386bd8c676",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t632542594052",
   "type": "text",
   "x": 534.96,
   "y": 392,
   "width": 500.08000000000004,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1478675319,
   "version": 1,
   "versionNonce": 1920828233,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Workers: one container = one job = one execution slot",
   "originalText": "Workers: one container = one job = one execution slot",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "rbab1f979d04a",
   "type": "rectangle",
   "x": 410,
   "y": 430,
   "width": 230,
   "height": 150,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 345908635,
   "version": 1,
   "versionNonce": 946878464,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t74251a26f889",
   "type": "text",
   "x": 439.28,
   "y": 438,
   "width": 171.44,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 2018978166,
   "version": 1,
   "versionNonce": 844846557,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "sm containers, lim 3 GB",
   "originalText": "sm containers, lim 3 GB",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r68a35675f6ad",
   "type": "rectangle",
   "x": 425,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 2072980149,
   "version": 1,
   "versionNonce": 8196148,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "tb021a72991b9",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "tb021a72991b9",
   "type": "text",
   "x": 443.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 364120811,
   "version": 1,
   "versionNonce": 514982153,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "sm\njob",
   "originalText": "sm\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r68a35675f6ad",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "rc6eee8e72789",
   "type": "rectangle",
   "x": 495,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 856070305,
   "version": 1,
   "versionNonce": 2053134993,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t5b67e39639be",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t5b67e39639be",
   "type": "text",
   "x": 513.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1863693997,
   "version": 1,
   "versionNonce": 1428150521,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "sm\njob",
   "originalText": "sm\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "rc6eee8e72789",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "rcaabb8c9817a",
   "type": "rectangle",
   "x": 565,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1989259375,
   "version": 1,
   "versionNonce": 1723943246,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t570a28aaca51",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t570a28aaca51",
   "type": "text",
   "x": 583.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 545625652,
   "version": 1,
   "versionNonce": 118321417,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "sm\njob",
   "originalText": "sm\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "rcaabb8c9817a",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "tee42e7a46309",
   "type": "text",
   "x": 445.78,
   "y": 535,
   "width": 158.44,
   "height": 27.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 627813881,
   "version": 1,
   "versionNonce": 2037347501,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "runs its own size,\nsteals smaller (Prefer-Fit)",
   "originalText": "runs its own size,\nsteals smaller (Prefer-Fit)",
   "fontSize": 11,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r4fd359b44e92",
   "type": "rectangle",
   "x": 670,
   "y": 430,
   "width": 230,
   "height": 150,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 562571390,
   "version": 1,
   "versionNonce": 91898034,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t349ea6511445",
   "type": "text",
   "x": 699.28,
   "y": 438,
   "width": 171.44,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 598077320,
   "version": 1,
   "versionNonce": 1863197321,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "md containers, lim 6 GB",
   "originalText": "md containers, lim 6 GB",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r6c0ddfb85c0d",
   "type": "rectangle",
   "x": 685,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 120232146,
   "version": 1,
   "versionNonce": 1081622282,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t95ff3678bc8d",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t95ff3678bc8d",
   "type": "text",
   "x": 703.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1033108812,
   "version": 1,
   "versionNonce": 1400113410,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "md\njob",
   "originalText": "md\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r6c0ddfb85c0d",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r1f2e218e0b7b",
   "type": "rectangle",
   "x": 755,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1519490800,
   "version": 1,
   "versionNonce": 1967786445,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "td75c844a7034",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "td75c844a7034",
   "type": "text",
   "x": 773.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 561623933,
   "version": 1,
   "versionNonce": 652132315,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "md\njob",
   "originalText": "md\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r1f2e218e0b7b",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r4cb2cc966f46",
   "type": "rectangle",
   "x": 825,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 740223519,
   "version": 1,
   "versionNonce": 607991152,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t3d9cb9a6442e",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t3d9cb9a6442e",
   "type": "text",
   "x": 843.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 265236938,
   "version": 1,
   "versionNonce": 1400082661,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "md\njob",
   "originalText": "md\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r4cb2cc966f46",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "t3653c6c80e2b",
   "type": "text",
   "x": 705.78,
   "y": 535,
   "width": 158.44,
   "height": 27.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 244051092,
   "version": 1,
   "versionNonce": 1067275001,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "runs its own size,\nsteals smaller (Prefer-Fit)",
   "originalText": "runs its own size,\nsteals smaller (Prefer-Fit)",
   "fontSize": 11,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r8dc830f97058",
   "type": "rectangle",
   "x": 930,
   "y": 430,
   "width": 230,
   "height": 150,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 181242849,
   "version": 1,
   "versionNonce": 419812753,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "te78381f98b52",
   "type": "text",
   "x": 955.64,
   "y": 438,
   "width": 178.72,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 119682498,
   "version": 1,
   "versionNonce": 272167093,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "lg containers, lim 12 GB",
   "originalText": "lg containers, lim 12 GB",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "ra6b67178ba0a",
   "type": "rectangle",
   "x": 945,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 856430243,
   "version": 1,
   "versionNonce": 1190502836,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t7eccf10637ce",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t7eccf10637ce",
   "type": "text",
   "x": 963.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1114940395,
   "version": 1,
   "versionNonce": 870111103,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "lg\njob",
   "originalText": "lg\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "ra6b67178ba0a",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "re522d70a39d1",
   "type": "rectangle",
   "x": 1015,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 588987924,
   "version": 1,
   "versionNonce": 1789442528,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "tc8e31f229dd0",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "tc8e31f229dd0",
   "type": "text",
   "x": 1033.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1898882739,
   "version": 1,
   "versionNonce": 1357122900,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "lg\njob",
   "originalText": "lg\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "re522d70a39d1",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "rdb4f3d9a8079",
   "type": "rectangle",
   "x": 1085,
   "y": 470,
   "width": 60,
   "height": 50,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 314051309,
   "version": 1,
   "versionNonce": 913495726,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t9b05ab6286cd",
     "type": "text"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t9b05ab6286cd",
   "type": "text",
   "x": 1103.64,
   "y": 480.0,
   "width": 22.72,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 525488741,
   "version": 1,
   "versionNonce": 663343193,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "lg\njob",
   "originalText": "lg\njob",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "rdb4f3d9a8079",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "t49345dbe3023",
   "type": "text",
   "x": 965.78,
   "y": 535,
   "width": 158.44,
   "height": 27.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1087089872,
   "version": 1,
   "versionNonce": 589504030,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "runs its own size,\nsteals smaller (Prefer-Fit)",
   "originalText": "runs its own size,\nsteals smaller (Prefer-Fit)",
   "fontSize": 11,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "aef7bf7b103df",
   "type": "arrow",
   "x": 520,
   "y": 290,
   "width": 0,
   "height": 90,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 943122533,
   "version": 1,
   "versionNonce": 404265716,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     0,
     90
    ]
   ],
   "startBinding": {
    "elementId": "rba739a2ef80f",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r0e4dfd56a926",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": "arrow",
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "t53597cbd1f5a",
   "type": "text",
   "x": 290.24,
   "y": 305.0,
   "width": 459.52000000000004,
   "height": 60.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 960836459,
   "version": 1,
   "versionNonce": 693491440,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "gRPC bidirectional stream, one per worker\n\ndown: Welcome, Assign{job, attempt}, Cancel, Reject\nup: Hello, Ready (1 credit), Started, Heartbeat{cpu_ms}, Finished{cpu_ms}",
   "originalText": "gRPC bidirectional stream, one per worker\n\ndown: Welcome, Assign{job, attempt}, Cancel, Reject\nup: Hello, Ready (1 credit), Started, Heartbeat{cpu_ms}, Finished{cpu_ms}",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "tdcf0b4d19ec1",
   "type": "text",
   "x": 480.36,
   "y": 598,
   "width": 609.28,
   "height": 15.0,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1734349671,
   "version": 1,
   "versionNonce": 1456492749,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "no prefetch: Assign only after Ready. Self-kill after 25 s of silence, the lease expires at 30 s.",
   "originalText": "no prefetch: Assign only after Ready. Self-kill after 25 s of silence, the lease expires at 30 s.",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "a64386bd8c676",
   "type": "arrow",
   "x": 1025,
   "y": 310,
   "width": 0,
   "height": 70,
   "angle": 0,
   "strokeColor": "#e8590c",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "dashed",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1531648885,
   "version": 1,
   "versionNonce": 1368056914,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     0,
     70
    ]
   ],
   "startBinding": {
    "elementId": "raf6dbfeaa155",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r0e4dfd56a926",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "t09f95daf106d",
   "type": "text",
   "x": 951.92,
   "y": 330,
   "width": 216.16,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#e8590c",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1451611684,
   "version": 1,
   "versionNonce": 1969975945,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "leases and fencing live in rows:\nattempt must equal the current one",
   "originalText": "leases and fencing live in rows:\nattempt must equal the current one",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  }
 ],
 "appState": {
  "gridSize": 20,
  "viewBackgroundColor": "#ffffff"
 },
 "files": {}
}