ARCHOS 525 BLUEPRINT · /d/dgm_int-message-queue
Point-to-Point Message Queue Internals (Visibility Timeout & DLQ)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-message-queue) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-message-queue)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-message-queue" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Point-to-Point Message Queue Internals (Visibility Timeout & DLQ) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Producers & Workers"]
n1_1["Queue Enqueue API"]
n2a_2[("Lease & Visibility")]
n2b_3["Competing Workers"]
n3_4[("Poison-Pill DLQ")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. SendMsg · HTTPS"| n1_1
n1_1 -->|"2a. Lock lease · RAM"| n2a_2
n1_1 -.->|"2b. Recv/Ack · HTTPS"| n2b_3
n2a_2 -->|"3a. Move DLQ · Async"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Producers & WorkersSTATELESSAsync job distribution
- Queue Enqueue APISTATELESSDurable multi-AZ persist
- Lease & VisibilitySTATEFULIn-flight lock + heartbeat ext
- Competing WorkersSTATELESSPull batch -> process -> ack
- Poison-Pill DLQSTATEFULMaxReceiveCount -> inspect/fix
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Producers & Workers → Queue Enqueue API (SendMsg)[HTTPS]
- Queue Enqueue API → Lease & Visibility (Lock lease)[RAM]
- Queue Enqueue API → Competing Workers (Recv/Ack)[HTTPS]
- Lease & Visibility → Poison-Pill DLQ (Move DLQ)[Async]
- Competing Workers → Poison-Pill DLQ (Sync)[Control]
- Poison-Pill DLQ → Downstream & OTel (Emit /)[OTLP/API]