Initial import of overview from zapier monorepo

This commit is contained in:
George Lambert 2026-09-11 18:19:41 -04:00
commit cbefa51701
21 changed files with 656 additions and 0 deletions

22
diagrams/uptime.svg Normal file
View file

@ -0,0 +1,22 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 280" width="800" height="280" role="img" aria-label="Fleet keepFloor, restart, SSH failover">
<rect width="800" height="280" fill="#f6f3ee"/>
<text x="20" y="28" font-family="Georgia,serif" font-size="16" fill="#12202c">Uptime: floors, restart, another machine</text>
<g font-family="system-ui,sans-serif" font-size="12">
<rect x="20" y="50" width="180" height="70" rx="8" fill="#e3f6e8" stroke="#0f6e56"/>
<text x="110" y="80" text-anchor="middle" fill="#0f6e56">healthy replica</text>
<text x="110" y="100" text-anchor="middle" fill="#52646f" font-size="10">counts toward min</text>
<rect x="220" y="50" width="180" height="70" rx="8" fill="#fff3bf" stroke="#8a5a00"/>
<text x="310" y="80" text-anchor="middle" fill="#8a5a00">paused / slow RTT</text>
<text x="310" y="100" text-anchor="middle" fill="#52646f" font-size="10">not available → spawn</text>
<rect x="420" y="50" width="180" height="70" rx="8" fill="#f9d4d4" stroke="#a32020"/>
<text x="510" y="80" text-anchor="middle" fill="#a32020">/health fail or SSH down</text>
<text x="510" y="100" text-anchor="middle" fill="#52646f" font-size="10">restart or next host</text>
<rect x="620" y="50" width="160" height="70" rx="8" fill="#1d4f91"/>
<text x="700" y="80" text-anchor="middle" fill="#fff">JetStream replay</text>
<text x="700" y="100" text-anchor="middle" fill="#d9e2e8" font-size="10">consumer catch-up</text>
<rect x="20" y="150" width="760" height="100" rx="8" fill="#fff" stroke="#d5dee4"/>
<text x="40" y="178" fill="#12202c">tree-node min=3 keepFloor</text>
<text x="40" y="200" fill="#52646f" font-size="12">local + ns1 (marchon@70.88.205.138, ~/.ssh/id_ed25519). Least-loaded placement. Bloom miss = silence so a partitioned archive does not block the bus.</text>
<text x="40" y="222" fill="#52646f" font-size="12">Zapier only sees HTTPS 202 / wait JSON / REST Hook. Cluster majority of 3 NATS servers survives one node loss.</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2 KiB