chartlet 0.23.0

Compile structured data into deterministic, accessible static charts
Documentation
1
<div class="chartlet-wrapper"><style>.chartlet-stage{position:relative;display:inline-block;max-width:100%;vertical-align:top}.chartlet-stage>svg{display:block}.chartlet-hotspot{position:absolute;border-radius:8px;cursor:pointer}.chartlet-focus{margin:0 0 12px 0;font-size:13px}.chartlet-focus summary{cursor:pointer;min-height:24px}.chartlet-focus fieldset{border:none;padding:0;margin:4px 0 0 0}.chartlet-focus label{display:inline-flex;align-items:center;min-height:44px;margin-right:14px;cursor:pointer;white-space:nowrap}.chartlet-focus input{margin-right:4px}.chartlet-focus input:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.chartlet-wrapper:has(.chartlet-focus-node:checked) #chartlet-b63b8eaf45596a97 .chartlet-f{opacity:.18}#chartlet-b63b8eaf45596a97-hs-0{left:23.5%;top:7.2%;width:22%;height:5.6%}#chartlet-b63b8eaf45596a97-hs-1{left:8.5%;top:27.2%;width:20%;height:5.6%}#chartlet-b63b8eaf45596a97-hs-2{left:40%;top:27.2%;width:20%;height:5.6%}#chartlet-b63b8eaf45596a97-hs-3{left:24.5%;top:68%;width:20%;height:5.6%}#chartlet-b63b8eaf45596a97-hs-4{left:64.5%;top:48.4%;width:22%;height:5.6%}#chartlet-b63b8eaf45596a97-hs-5{left:20.5%;top:90.4%;width:19%;height:6.4%}#chartlet-b63b8eaf45596a97-hs-6{left:43%;top:90.8%;width:26%;height:5.6%}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-0:checked) #chartlet-b63b8eaf45596a97 .chartlet-f-0{opacity:1}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-0:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-0 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-0:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-0 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-1:checked) #chartlet-b63b8eaf45596a97 .chartlet-f-1{opacity:1}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-1:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-1 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-1:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-1 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-2:checked) #chartlet-b63b8eaf45596a97 .chartlet-f-2{opacity:1}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-2:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-2 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-2:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-2 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-3:checked) #chartlet-b63b8eaf45596a97 .chartlet-f-3{opacity:1}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-3:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-3 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-3:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-3 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-4:checked) #chartlet-b63b8eaf45596a97 .chartlet-f-4{opacity:1}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-4:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-4 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-4:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-4 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-5:checked) #chartlet-b63b8eaf45596a97 .chartlet-f-5{opacity:1}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-5:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-5 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-5:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-5 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-6:checked) #chartlet-b63b8eaf45596a97 .chartlet-f-6{opacity:1}.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-6:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-6 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b63b8eaf45596a97-focus-6:checked) #chartlet-b63b8eaf45596a97 .chartlet-n-6 .chartlet-seq-box{stroke-width:3}</style><details class="chartlet-focus"><summary>Focus</summary><fieldset><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" checked> Show all</label><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" class="chartlet-focus-node" id="chartlet-b63b8eaf45596a97-focus-0"> Ingress (ingress-prod)</label><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" class="chartlet-focus-node" id="chartlet-b63b8eaf45596a97-focus-1"> Booking API (api-1)</label><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" class="chartlet-focus-node" id="chartlet-b63b8eaf45596a97-focus-2"> Booking API (api-2)</label><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" class="chartlet-focus-node" id="chartlet-b63b8eaf45596a97-focus-3"> Worker (worker-1)</label><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" class="chartlet-focus-node" id="chartlet-b63b8eaf45596a97-focus-4"> Job queue (jobs-prod)</label><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" class="chartlet-focus-node" id="chartlet-b63b8eaf45596a97-focus-5"> Bookings (db-prod)</label><label><input type="radio" name="chartlet-b63b8eaf45596a97-focus" class="chartlet-focus-node" id="chartlet-b63b8eaf45596a97-focus-6"> Certificates (files-prod)</label></fieldset></details><figure class="chartlet-figure" data-viz="chart"><figcaption>Course booking in production</figcaption><div class="chartlet-stage"><svg xmlns="http://www.w3.org/2000/svg" width="800" height="1000" viewBox="0 0 800 1000" id="chartlet-b63b8eaf45596a97" role="img" aria-labelledby="chartlet-b63b8eaf45596a97-title chartlet-b63b8eaf45596a97-description" class="chartlet-root"><title id="chartlet-b63b8eaf45596a97-title">Course booking in production</title><desc id="chartlet-b63b8eaf45596a97-description">Architecture diagram with 7 components and 9 connections in 5 boundaries. It shows the environment Production: 7 instances of 6 components of the model; only the connections listed for the instances are drawn. Cloud region: Job queue (jobs-prod), Bookings (db-prod), Certificates (files-prod), Container cluster. Container cluster (in Cloud region): Ingress (ingress-prod), Node A, Node B, Node pool: workers. Node A (in Container cluster): Booking API (api-1). Node B (in Container cluster): Booking API (api-2). Node pool: workers (in Container cluster): Worker (worker-1). Nothing leads into Ingress (ingress-prod). Nothing leads out of Bookings (db-prod) and Certificates (files-prod). Ingress (ingress-prod) (service): connects to Booking API (api-1) (routes, via HTTP) and Booking API (api-2) (routes, via HTTP). Booking API (api-1) (artifact): connects to Bookings (db-prod) (reads, writes, via SQL/TLS) and Job queue (jobs-prod) (queues jobs). Booking API (api-2) (artifact): connects to Bookings (db-prod) (reads, writes, via SQL/TLS) and Job queue (jobs-prod) (queues jobs). Job queue (jobs-prod) (queue): connects to Worker (worker-1) (delivers). Worker (worker-1) (artifact): connects to Certificates (files-prod) (stores certificates) and Bookings (db-prod) (updates, via SQL/TLS). Bookings (db-prod) (database): no outgoing connection. Certificates (files-prod) (storage): no outgoing connection.</desc><style>.chartlet-root{--chartlet-text:#172033;--chartlet-muted:#344054;--chartlet-grid:#d9dee8;--chartlet-zero:#667085;--chartlet-accent:#2563eb;--chartlet-background:#fff;--chartlet-color-1:#2563eb;--chartlet-color-2:#c2410c;--chartlet-color-3:#475569;--chartlet-color-4:#111827;max-width:100%;height:auto;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--chartlet-text)}#chartlet-b63b8eaf45596a97 .chartlet-title{font-size:22px;font-weight:650;fill:var(--chartlet-text)}#chartlet-b63b8eaf45596a97 .chartlet-label,#chartlet-b63b8eaf45596a97 .chartlet-tick,#chartlet-b63b8eaf45596a97 .chartlet-value,#chartlet-b63b8eaf45596a97 .chartlet-value-inverse,#chartlet-b63b8eaf45596a97 .chartlet-axis-title{font-size:12px;fill:var(--chartlet-muted)}#chartlet-b63b8eaf45596a97 .chartlet-value,#chartlet-b63b8eaf45596a97 .chartlet-value-inverse{font-weight:600}#chartlet-b63b8eaf45596a97 .chartlet-value{fill:var(--chartlet-text)}#chartlet-b63b8eaf45596a97 .chartlet-value-inverse{fill:var(--chartlet-background)}#chartlet-b63b8eaf45596a97 .chartlet-axis-title{font-weight:600}#chartlet-b63b8eaf45596a97 .chartlet-grid{stroke:var(--chartlet-grid);stroke-width:1}#chartlet-b63b8eaf45596a97 .chartlet-zero{stroke:var(--chartlet-zero);stroke-width:1.5}#chartlet-b63b8eaf45596a97 .chartlet-bar,#chartlet-b63b8eaf45596a97 .chartlet-point{fill:var(--chartlet-accent)}#chartlet-b63b8eaf45596a97 .chartlet-line{fill:none;stroke:var(--chartlet-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#chartlet-b63b8eaf45596a97 .chartlet-background{fill:var(--chartlet-background)}.chartlet-root{--chartlet-node:#eef3fd;--chartlet-lane:#f7f9fc;--chartlet-lane-head:#eef1f6;--chartlet-shadow:rgba(16,24,40,.09);--chartlet-role-blue:#2563eb;--chartlet-role-blue-fill:#eef3fd;--chartlet-role-green:#15803d;--chartlet-role-green-fill:#ecfdf3;--chartlet-role-amber:#b45309;--chartlet-role-amber-fill:#fff7e8;--chartlet-role-teal:#0f766e;--chartlet-role-teal-fill:#e9faf7;--chartlet-role-violet:#6d28d9;--chartlet-role-violet-fill:#f3efff;--chartlet-role-gray:#667085;--chartlet-role-gray-fill:#f7f8fa;--chartlet-role-red:#b42318;--chartlet-role-red-fill:#fef3f2}.chartlet-root.chartlet-theme-dark{--chartlet-node:#1a2436;--chartlet-lane:#121925;--chartlet-lane-head:#18212f;--chartlet-shadow:rgba(0,0,0,.45);--chartlet-role-blue:#7ea6ff;--chartlet-role-blue-fill:#1a2436;--chartlet-role-green:#4ade80;--chartlet-role-green-fill:#132a1d;--chartlet-role-amber:#fbbf24;--chartlet-role-amber-fill:#2b2210;--chartlet-role-teal:#2dd4bf;--chartlet-role-teal-fill:#0f2a27;--chartlet-role-violet:#b69cff;--chartlet-role-violet-fill:#231c38;--chartlet-role-gray:#9aa7bd;--chartlet-role-gray-fill:#161d29;--chartlet-role-red:#f97066;--chartlet-role-red-fill:#2d1616}#chartlet-b63b8eaf45596a97 .chartlet-role-blue{fill:var(--chartlet-role-blue-fill);stroke:var(--chartlet-role-blue)}#chartlet-b63b8eaf45596a97 .chartlet-role-green{fill:var(--chartlet-role-green-fill);stroke:var(--chartlet-role-green)}#chartlet-b63b8eaf45596a97 .chartlet-role-amber{fill:var(--chartlet-role-amber-fill);stroke:var(--chartlet-role-amber)}#chartlet-b63b8eaf45596a97 .chartlet-role-teal{fill:var(--chartlet-role-teal-fill);stroke:var(--chartlet-role-teal)}#chartlet-b63b8eaf45596a97 .chartlet-role-violet{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet)}#chartlet-b63b8eaf45596a97 .chartlet-role-gray{fill:var(--chartlet-role-gray-fill);stroke:var(--chartlet-role-gray)}#chartlet-b63b8eaf45596a97 .chartlet-role-red{fill:var(--chartlet-role-red-fill);stroke:var(--chartlet-role-red)}#chartlet-b63b8eaf45596a97 .chartlet-diagram-rim{fill:none;stroke:var(--chartlet-role-teal);stroke-width:1.5}#chartlet-b63b8eaf45596a97 .chartlet-diagram-shadow{fill:var(--chartlet-shadow);stroke:none;rx:7px}#chartlet-b63b8eaf45596a97 .chartlet-diagram-chip{fill:var(--chartlet-background);stroke:var(--chartlet-grid);stroke-width:1;rx:4px}#chartlet-b63b8eaf45596a97 .chartlet-diagram-chip-text{font-size:12px;fill:var(--chartlet-text)}#chartlet-b63b8eaf45596a97 .chartlet-diagram-badge{fill:var(--chartlet-accent);stroke:var(--chartlet-background);stroke-width:2}#chartlet-b63b8eaf45596a97 .chartlet-diagram-badge-text{font-size:10px;font-weight:700;fill:var(--chartlet-background)}#chartlet-b63b8eaf45596a97 .chartlet-flow-node{stroke-width:1.5;stroke-linejoin:round;rx:7px}#chartlet-b63b8eaf45596a97 .chartlet-flow-start{stroke-width:2}#chartlet-b63b8eaf45596a97 .chartlet-flow-end{stroke-width:3}#chartlet-b63b8eaf45596a97 .chartlet-flow-external{stroke-dasharray:5 3}#chartlet-b63b8eaf45596a97 .chartlet-flow-inner{stroke:var(--chartlet-role-blue);stroke-width:1}#chartlet-b63b8eaf45596a97 .chartlet-flow-label{font-size:13px;font-weight:600;fill:var(--chartlet-text)}#chartlet-b63b8eaf45596a97 .chartlet-flow-sublabel{font-size:11px;fill:var(--chartlet-muted)}#chartlet-b63b8eaf45596a97 .chartlet-flow-edge{fill:none;stroke:var(--chartlet-zero);stroke-width:1.4;stroke-linejoin:round}#chartlet-b63b8eaf45596a97 .chartlet-flow-dashed{stroke-dasharray:5 4}#chartlet-b63b8eaf45596a97 .chartlet-flow-dotted{stroke-dasharray:1 4;stroke-linecap:round}#chartlet-b63b8eaf45596a97 .chartlet-flow-main{stroke:var(--chartlet-accent);stroke-width:2.2}#chartlet-b63b8eaf45596a97 .chartlet-flow-head{fill:var(--chartlet-zero);stroke:var(--chartlet-zero);stroke-width:1;stroke-linejoin:round}#chartlet-b63b8eaf45596a97 .chartlet-flow-main-head{fill:var(--chartlet-accent);stroke:var(--chartlet-accent)}#chartlet-b63b8eaf45596a97 .chartlet-flow-lane{fill:var(--chartlet-lane);stroke:var(--chartlet-grid);stroke-width:1}#chartlet-b63b8eaf45596a97 .chartlet-flow-lane-alt{fill:var(--chartlet-background)}#chartlet-b63b8eaf45596a97 .chartlet-flow-lane-head{fill:var(--chartlet-lane-head);stroke:none}#chartlet-b63b8eaf45596a97 .chartlet-flow-lane-label{font-size:11px;font-weight:650;fill:var(--chartlet-muted);letter-spacing:.04em}#chartlet-b63b8eaf45596a97 .chartlet-flow-group{fill:var(--chartlet-accent);fill-opacity:.04;stroke:var(--chartlet-zero);stroke-width:1;stroke-dasharray:4 3;rx:10px}#chartlet-b63b8eaf45596a97 .chartlet-flow-group-label{font-size:11px;font-weight:600;fill:var(--chartlet-muted)}#chartlet-b63b8eaf45596a97 .chartlet-arch-head{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet);stroke-width:1.5}#chartlet-b63b8eaf45596a97 .chartlet-arch-dot{fill:var(--chartlet-role-blue);stroke:none}</style><rect x="32" y="16" width="672" height="964" class="chartlet-flow-group"/><text x="40" y="29" text-anchor="start" class="chartlet-flow-group-label">Cloud region</text><rect x="44" y="44" width="460" height="716" class="chartlet-flow-group"/><text x="52" y="57" text-anchor="start" class="chartlet-flow-group-label">Container cluster</text><rect x="184" y="652" width="184" height="96" class="chartlet-flow-group"/><text x="192" y="665" text-anchor="start" class="chartlet-flow-group-label">Node pool: workers</text><rect x="308" y="244" width="184" height="96" class="chartlet-flow-group"/><text x="316" y="257" text-anchor="start" class="chartlet-flow-group-label">Node B</text><rect x="56" y="244" width="184" height="96" class="chartlet-flow-group"/><text x="64" y="257" text-anchor="start" class="chartlet-flow-group-label">Node A</text><g class="chartlet-f chartlet-f-0 chartlet-f-1"><polyline points="264,128 264,203.738 148,203.738 148,264" class="chartlet-flow-edge"><title>Ingress (ingress-prod) → Booking API (api-1): routes [HTTP]</title></polyline><polyline points="144.5,264 148,272 151.5,264 144.5,264" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-0 chartlet-f-2"><polyline points="288,128 288,203.738 400,203.738 400,264" class="chartlet-flow-edge"><title>Ingress (ingress-prod) → Booking API (api-2): routes [HTTP]</title></polyline><polyline points="396.5,264 400,272 403.5,264 396.5,264" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-5"><polyline points="136,328 136,418.885 116,418.885 116,842.033 216,842.033 216,896" class="chartlet-flow-edge"><title>Booking API (api-1) → Bookings (db-prod): reads, writes [SQL/TLS]</title></polyline><polyline points="212.5,896 216,904 219.5,896 212.5,896" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><polyline points="412,328 412,418.885 764,418.885 764,611.951 436,611.951 436,857.18 292,857.18 290.4,853.18 285.6,853.18 284,857.18 264,857.18 264,896" class="chartlet-flow-edge"><title>Booking API (api-2) → Bookings (db-prod): reads, writes [SQL/TLS]</title></polyline><polyline points="260.5,896 264,904 267.5,896 260.5,896" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-4"><polyline points="160,328 160,449.18 592,449.18 592,476" class="chartlet-flow-edge"><title>Booking API (api-1) → Job queue (jobs-prod): queues jobs</title></polyline><polyline points="588.5,476 592,484 595.5,476 588.5,476" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-4"><polyline points="388,328 388,434.033 616,434.033 616,476" class="chartlet-flow-edge"><title>Booking API (api-2) → Job queue (jobs-prod): queues jobs</title></polyline><polyline points="612.5,476 616,484 619.5,476 612.5,476" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><polyline points="604,540 604,596.803 276,596.803 276,672" class="chartlet-flow-edge"><title>Job queue (jobs-prod) → Worker (worker-1): delivers</title></polyline><polyline points="272.5,672 276,680 279.5,672 272.5,672" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-6"><polyline points="288,736 288,872.328 448,872.328 448,900" class="chartlet-flow-edge"><title>Worker (worker-1) → Certificates (files-prod): stores certificates</title></polyline><polyline points="444.5,900 448,908 451.5,900 444.5,900" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-5"><polyline points="264,736 264,842.033 240,842.033 240,896" class="chartlet-flow-edge"><title>Worker (worker-1) → Bookings (db-prod): updates [SQL/TLS]</title></polyline><polyline points="236.5,896 240,904 243.5,896 236.5,896" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-n-0 chartlet-f-0 chartlet-f-1 chartlet-f-2"></g><g class="chartlet-f chartlet-n-1 chartlet-f-0 chartlet-f-1 chartlet-f-4 chartlet-f-5"></g><g class="chartlet-f chartlet-n-2 chartlet-f-0 chartlet-f-2 chartlet-f-4 chartlet-f-5"></g><g class="chartlet-f chartlet-n-3 chartlet-f-3 chartlet-f-4 chartlet-f-5 chartlet-f-6"></g><g class="chartlet-f chartlet-n-4 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-4"></g><g class="chartlet-f chartlet-n-5 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-5"></g><g class="chartlet-f chartlet-n-6 chartlet-f-3 chartlet-f-6"></g><g class="chartlet-f chartlet-f-0 chartlet-f-1"><rect x="204.4" y="133" width="55.6" height="36" class="chartlet-diagram-chip"/><text x="255" y="147" text-anchor="end" class="chartlet-diagram-chip-text">routes</text><text x="255" y="162" text-anchor="end" class="chartlet-diagram-chip-text">[HTTP]</text></g><g class="chartlet-f chartlet-f-0 chartlet-f-2"><rect x="292" y="133" width="55.6" height="36" class="chartlet-diagram-chip"/><text x="297" y="147" text-anchor="start" class="chartlet-diagram-chip-text">routes</text><text x="297" y="162" text-anchor="start" class="chartlet-diagram-chip-text">[HTTP]</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-5"><rect x="39.68" y="343" width="92.32" height="36" class="chartlet-diagram-chip"/><text x="127" y="357" text-anchor="end" class="chartlet-diagram-chip-text">reads, writes</text><text x="127" y="372" text-anchor="end" class="chartlet-diagram-chip-text">[SQL/TLS]</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><rect x="416" y="343" width="92.32" height="36" class="chartlet-diagram-chip"/><text x="421" y="357" text-anchor="start" class="chartlet-diagram-chip-text">reads, writes</text><text x="421" y="372" text-anchor="start" class="chartlet-diagram-chip-text">[SQL/TLS]</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-4"><rect x="164" y="343" width="77.92" height="21" class="chartlet-diagram-chip"/><text x="169" y="357" text-anchor="start" class="chartlet-diagram-chip-text">queues jobs</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-4"><rect x="306.08" y="343" width="77.92" height="21" class="chartlet-diagram-chip"/><text x="379" y="357" text-anchor="end" class="chartlet-diagram-chip-text">queues jobs</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><rect x="608" y="545" width="57.52" height="21" class="chartlet-diagram-chip"/><text x="613" y="559" text-anchor="start" class="chartlet-diagram-chip-text">delivers</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-6"><rect x="292" y="763" width="128.56" height="21" class="chartlet-diagram-chip"/><text x="297" y="777" text-anchor="start" class="chartlet-diagram-chip-text">stores certificates</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-5"><rect x="181.6" y="763" width="78.4" height="36" class="chartlet-diagram-chip"/><text x="255" y="777" text-anchor="end" class="chartlet-diagram-chip-text">updates</text><text x="255" y="792" text-anchor="end" class="chartlet-diagram-chip-text">[SQL/TLS]</text></g><g class="chartlet-f chartlet-n-0 chartlet-f-0 chartlet-f-1 chartlet-f-2"><rect x="188" y="74.5" width="176" height="56" class="chartlet-diagram-shadow"/><rect x="188" y="72" width="176" height="56" class="chartlet-flow-node chartlet-role-blue"><title>Ingress (ingress-prod) – load balancer</title></rect><text x="276" y="97.5" text-anchor="middle" class="chartlet-flow-label">Ingress (ingress-prod)</text><text x="276" y="111.5" text-anchor="middle" class="chartlet-flow-sublabel">load balancer</text></g><g class="chartlet-f chartlet-n-1 chartlet-f-0 chartlet-f-1 chartlet-f-4 chartlet-f-5"><polyline points="68,274.5 216,274.5 228,286.5 228,330.5 68,330.5 68,274.5" class="chartlet-diagram-shadow"/><polyline points="68,272 216,272 228,284 228,328 68,328 68,272" class="chartlet-flow-node chartlet-role-blue"><title>Booking API (api-1) – image: web app and API</title></polyline><line x1="216" y1="272" x2="216" y2="284" class="chartlet-flow-inner"/><line x1="216" y1="284" x2="228" y2="284" class="chartlet-flow-inner"/><text x="148" y="297.5" text-anchor="middle" class="chartlet-flow-label">Booking API (api-1)</text><text x="148" y="311.5" text-anchor="middle" class="chartlet-flow-sublabel">image: web app and API</text></g><g class="chartlet-f chartlet-n-2 chartlet-f-0 chartlet-f-2 chartlet-f-4 chartlet-f-5"><polyline points="320,274.5 468,274.5 480,286.5 480,330.5 320,330.5 320,274.5" class="chartlet-diagram-shadow"/><polyline points="320,272 468,272 480,284 480,328 320,328 320,272" class="chartlet-flow-node chartlet-role-blue"><title>Booking API (api-2) – image: web app and API</title></polyline><line x1="468" y1="272" x2="468" y2="284" class="chartlet-flow-inner"/><line x1="468" y1="284" x2="480" y2="284" class="chartlet-flow-inner"/><text x="400" y="297.5" text-anchor="middle" class="chartlet-flow-label">Booking API (api-2)</text><text x="400" y="311.5" text-anchor="middle" class="chartlet-flow-sublabel">image: web app and API</text></g><g class="chartlet-f chartlet-n-3 chartlet-f-3 chartlet-f-4 chartlet-f-5 chartlet-f-6"><polyline points="196,682.5 344,682.5 356,694.5 356,738.5 196,738.5 196,682.5" class="chartlet-diagram-shadow"/><polyline points="196,680 344,680 356,692 356,736 196,736 196,680" class="chartlet-flow-node chartlet-role-blue"><title>Worker (worker-1) – image: background jobs</title></polyline><line x1="344" y1="680" x2="344" y2="692" class="chartlet-flow-inner"/><line x1="344" y1="692" x2="356" y2="692" class="chartlet-flow-inner"/><text x="276" y="705.5" text-anchor="middle" class="chartlet-flow-label">Worker (worker-1)</text><text x="276" y="719.5" text-anchor="middle" class="chartlet-flow-sublabel">image: background jobs</text></g><g class="chartlet-f chartlet-n-4 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-4"><rect x="520" y="482.5" width="176" height="56" class="chartlet-diagram-shadow"/><rect x="520" y="480" width="176" height="56" class="chartlet-flow-node chartlet-role-violet"/><rect x="516" y="486.5" width="176" height="56" class="chartlet-diagram-shadow"/><rect x="516" y="484" width="176" height="56" class="chartlet-flow-node chartlet-role-violet"><title>Job queue (jobs-prod) – managed queue</title></rect><text x="604" y="509.5" text-anchor="middle" class="chartlet-flow-label">Job queue (jobs-prod)</text><text x="604" y="523.5" text-anchor="middle" class="chartlet-flow-sublabel">managed queue</text></g><g class="chartlet-f chartlet-n-5 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-5"><polyline points="164,911.5 164,965.5 166.59,966.794 174.182,968 186.26,969.036 202,969.83 220.33,970.33 240,970.5 259.67,970.33 278,969.83 293.74,969.036 305.818,968 313.41,966.794 316,965.5 316,911.5 313.41,910.206 305.818,909 293.74,907.964 278,907.17 259.67,906.67 240,906.5 220.33,906.67 202,907.17 186.26,907.964 174.182,909 166.59,910.206 164,911.5 164,911.5" class="chartlet-diagram-shadow"/><polyline points="164,909 164,963 166.59,964.294 174.182,965.5 186.26,966.536 202,967.33 220.33,967.83 240,968 259.67,967.83 278,967.33 293.74,966.536 305.818,965.5 313.41,964.294 316,963 316,909 313.41,907.706 305.818,906.5 293.74,905.464 278,904.67 259.67,904.17 240,904 220.33,904.17 202,904.67 186.26,905.464 174.182,906.5 166.59,907.706 164,909 164,909" class="chartlet-flow-node chartlet-role-teal"><title>Bookings (db-prod) – managed database</title></polyline><polyline points="164,909 166.59,910.294 174.182,911.5 186.26,912.536 202,913.33 220.33,913.83 240,914 259.67,913.83 278,913.33 293.74,912.536 305.818,911.5 313.41,910.294 316,909" class="chartlet-diagram-rim"/><text x="240" y="936.5" text-anchor="middle" class="chartlet-flow-label">Bookings (db-prod)</text><text x="240" y="950.5" text-anchor="middle" class="chartlet-flow-sublabel">managed database</text></g><g class="chartlet-f chartlet-n-6 chartlet-f-3 chartlet-f-6"><polyline points="344,910.5 552,910.5 544,966.5 352,966.5 344,910.5" class="chartlet-diagram-shadow"/><polyline points="344,908 552,908 544,964 352,964 344,908" class="chartlet-flow-node chartlet-role-teal"><title>Certificates (files-prod) – object storage</title></polyline><text x="448" y="933.5" text-anchor="middle" class="chartlet-flow-label">Certificates (files-prod)</text><text x="448" y="947.5" text-anchor="middle" class="chartlet-flow-sublabel">object storage</text></g></svg><label class="chartlet-hotspot" id="chartlet-b63b8eaf45596a97-hs-0" for="chartlet-b63b8eaf45596a97-focus-0"></label><label class="chartlet-hotspot" id="chartlet-b63b8eaf45596a97-hs-1" for="chartlet-b63b8eaf45596a97-focus-1"></label><label class="chartlet-hotspot" id="chartlet-b63b8eaf45596a97-hs-2" for="chartlet-b63b8eaf45596a97-focus-2"></label><label class="chartlet-hotspot" id="chartlet-b63b8eaf45596a97-hs-3" for="chartlet-b63b8eaf45596a97-focus-3"></label><label class="chartlet-hotspot" id="chartlet-b63b8eaf45596a97-hs-4" for="chartlet-b63b8eaf45596a97-focus-4"></label><label class="chartlet-hotspot" id="chartlet-b63b8eaf45596a97-hs-5" for="chartlet-b63b8eaf45596a97-focus-5"></label><label class="chartlet-hotspot" id="chartlet-b63b8eaf45596a97-hs-6" for="chartlet-b63b8eaf45596a97-focus-6"></label></div><details class="chartlet-data" data-viz-text><summary>Show chart data</summary><table><caption>Data for Course booking in production</caption><thead><tr><th scope="col">Instance</th><th scope="col">Kind</th><th scope="col">Boundary</th><th scope="col">Connects to</th></tr></thead><tbody><tr><th scope="row">Ingress (ingress-prod)</th><td>service</td><td>Cloud region › Container cluster</td><td>Booking API (api-1) (routes, via HTTP), Booking API (api-2) (routes, via HTTP)</td></tr><tr><th scope="row">Booking API (api-1)</th><td>artifact</td><td>Cloud region › Container cluster › Node A</td><td>Bookings (db-prod) (reads, writes, via SQL/TLS), Job queue (jobs-prod) (queues jobs)</td></tr><tr><th scope="row">Booking API (api-2)</th><td>artifact</td><td>Cloud region › Container cluster › Node B</td><td>Bookings (db-prod) (reads, writes, via SQL/TLS), Job queue (jobs-prod) (queues jobs)</td></tr><tr><th scope="row">Job queue (jobs-prod)</th><td>queue</td><td>Cloud region</td><td>Worker (worker-1) (delivers)</td></tr><tr><th scope="row">Worker (worker-1)</th><td>artifact</td><td>Cloud region › Container cluster › Node pool: workers</td><td>Certificates (files-prod) (stores certificates), Bookings (db-prod) (updates, via SQL/TLS)</td></tr><tr><th scope="row">Bookings (db-prod)</th><td>database</td><td>Cloud region</td><td></td></tr><tr><th scope="row">Certificates (files-prod)</th><td>storage</td><td>Cloud region</td><td></td></tr></tbody></table></details></figure></div>