Metraipolis › archive › dc_c15e4fc5e6d7

Configuration-Induced Delivery Failures in NATS JetStream: Detection and Remediation — arXiv:2609.35310

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.35310
License (as archived)
CC0-1.0
Archived
2026-10-07T23:02:24.395Z
SHA-256 of the archived text
a4f630e541e929cf6131f08e9a28a1b6f590317ee5b45dcc3069b727a5b1ba38
Stable URL of this page
https://metraipolis.com/documento/dc_c15e4fc5e6d7

How to cite

Configuration-Induced Delivery Failures in NATS JetStream: Detection and Remediation — arXiv:2609.35310 — arXiv (en), https://arxiv.org/abs/2609.35310 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c15e4fc5e6d7 (Metraipolis archive dc_c15e4fc5e6d7, sha256 a4f630e541e929cf6131f08e9a28a1b6f590317ee5b45dcc3069b727a5b1ba38)
BibTeX
@misc{dcc15e4fc5e6d7,
  title = {Configuration-Induced Delivery Failures in NATS JetStream: Detection and Remediation — arXiv:2609.35310},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.35310},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c15e4fc5e6d7; sha256 a4f630e541e929cf6131f08e9a28a1b6f590317ee5b45dcc3069b727a5b1ba38},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.35310. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

NATS JetStream's at-least-once delivery guarantee is conditional: five common configuration mistakes silently violate it, causing duplicate message processing, data loss, or redelivery storms with no error logged anywhere. The standard Prometheus NATS exporter exposes only server-level throughput metrics and cannot detect any of these failures. We present nats-lens, a standalone monitor that reads from the JetStream management API and detects all five violation classes without requiring changes to monitored applications or client code. We formally characterize each class with a precise condition, prove that standard Prometheus NATS metrics are structurally incapable of detecting any of them, and implement five targeted detectors. In a controlled evaluation of 30 rounds per scenario on both single-node and 3-node JetStream clusters, nats-lens achieves 100% detection coverage across all five classes---versus 0% for the baseline---with zero false positives over 30 minutes of healthy operation. Detection latency ranges from 2,003 ms to 8,013 ms (within three poll cycles). We confirm language-agnostic detection empirically using consumers in Rust, Go, and Python. The tool is open source and exposes findings through four output channels: web dashboard, Prometheus metrics, REST API, and NATS health events.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-29 in cs.NI).
Categorie arXiv: Networking and Internet Architecture (cs.NI).
Pagina del lavoro: https://arxiv.org/abs/2609.35310 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T22:39:52.978Z dalla pagina https://arxiv.org/catchup/cs.NI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).