Skip to main content
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
[![Point-to-Point Message Queue Internals (Visibility Timeout & DLQ) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-message-queue/opengraph-image)](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_5

COMPONENT STACK (6)

  • Producers & WorkersSTATELESS
    Async job distribution
  • Queue Enqueue APISTATELESS
    Durable multi-AZ persist
  • Lease & VisibilitySTATEFUL
    In-flight lock + heartbeat ext
  • Competing WorkersSTATELESS
    Pull batch -> process -> ack
  • Poison-Pill DLQSTATEFUL
    MaxReceiveCount -> inspect/fix
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Producers & Workers → Queue Enqueue API (SendMsg)[HTTPS]
  2. Queue Enqueue API → Lease & Visibility (Lock lease)[RAM]
  3. Queue Enqueue API → Competing Workers (Recv/Ack)[HTTPS]
  4. Lease & Visibility → Poison-Pill DLQ (Move DLQ)[Async]
  5. Competing Workers → Poison-Pill DLQ (Sync)[Control]
  6. Poison-Pill DLQ → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →