Urgent.News

What's breaking now, across thousands of outlets.

Tech

Marketplace Delivery Error Alerting with 429-Aware Metrics API Polling

Short answer: treat each metrics poll as a bounded, idempotent read, and treat HTTP 429 as an inconclusive observation rather than evidence that notification delivery is healthy or broken. Persist the last completed window, honor Retry-After when it is present, add bounded jittered backoff, and alert from durable delivery-failure counts only after the window is complete. The decision rule is…

When assessing error alerting using metrics poll data, consider each poll as an independent, repeatable read. View HTTP 429 responses as inconclusive indications rather than proof of correct or incorrect notification delivery. Always save the checkpoint after the last successful window, obey any Retry-After headers, and incorporate randomized, bounded jittered backoff between attempts.

Alert only when a failure is confirmed after a complete window has elapsed. For a marketplace service, this distinction avoids two potential pitfalls: a poller might clear a genuine delivery error thinking no failures occurred due to throttling, or it may send unnecessary alerts solely because the monitoring system was rate-limited.

The fundamental principle is that "missing is not zero." To establish reliable error alerting from metrics API polls, adhere to four key principles: treat each window independently even after retries, disregard 429 responses when calculating checkpoint progress, disregard partial metric pages as completed windows, and only update alert states when observations are firmly tied to a closed window and successful data retrieval.

These principles are more critical than the scheduling mechanism. Implement locked polling windows with unique identities like "2026-09-27T10:14:00Z/60s" to ensure retries reuse the same checkpoint. Clearly distinguish failure types: transport errors (unknown), HTTP 429 (rate limiting), parse errors (untrustworthy data), and checkpoint failures (replayable).

Keep failure counters simple by using bounded dimensions such as channel, failure class, and deployment region instead of high-cardinality elements like order IDs or URLs. Design the architecture around a checkpointed pull worker with a state machine that separates delivery failures from poll health, only retries unfinished observations, and provides a freshness signal to avoid treating stale data as current health.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Stoplight Studio is gone: five OpenAPI editors compared for 2026

If you maintained OpenAPI documents between 2018 and 2023, Stoplight Studio was probably on your machine: a desktop editor that combined a form-based operation view with raw YAML, no account required…

  • Stoplight Studio discontinued in 2023, leaving teams to seek alternatives
  • Five OpenAPI editors compared for performance against real workload
  • Key features: two-way editing, multi-file support, raw YAML alongside form fields

I built a rotation checker for product photos, then a whole campaign tool on top of it

Two products came out of one problem. Sellers kept uploading product photos that looked fine on their phone and came out sideways on the marketplace, because the camera's rotation tag and the pixels…

  • UprightAI tool corrects photo rotation for marketplace listings.
  • BlueVeta campaign tool offers pay-per-pack photo solutions.
  • Verification process ensures image accuracy for sellers.

More from Saturday 3 October →