SShortSingh.
Back to feed

Metrics Failure Count Alert Polling (with Cron Workers and Durable State)

0
·1 views

TL;DR: Count terminal notification delivery failures, query a recent window on a schedule, and notify only when a threshold crossing changes durable alert state. The metric answers an aggregate question; a Postgres row answers the equally important question of whether this worker has already announced that condition. Keep those responsibilities separate, and use a heartbeat monitor for the different failure in which the polling job never runs. For a marketplace notification service, my decision rule is concrete: use a counter-and-poller design when the operational question is “did at least N d

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Live Captions vs Post-Session Transcripts: How Python Users Should Choose

Ship the post-session transcript first unless accessibility requirements make live captions mandatory; then build captions as a separate realtime system whose delivery contract is explicit. TL;DR: A transcript is a file and captures most of the durable value after a customer-support session. Live captions help during the session, but even a few seconds of latency is noticeable, and every viewer introduces fan-out, ordering, reconnect, and duplicate-delivery questions. Check accessibility requirements before choosing. If captions are required, use application-level sequence numbers, idempotent

0
ProgrammingDEV Community ·

Inside Project Helix: The Hybrid Xbox Specs That Will Change Gaming

Leaked Helix Specs Ignite Hype: What the New Hybrid Xbox Means for Gamers and Developers Introduction A leaked Microsoft memo has finally revealed the hardware that powers Project Helix, the hybrid Xbox that could redefine console gaming in 2025. With a custom Zen 4 CPU, RDNA 3 GPU, and built‑in cloud‑gaming support, Helix promises a seamless jump from TV to laptop—or even a future handheld—without compromising performance. In the next few minutes you’ll get the hard numbers, see how they stack up against the PlayStation 6 and Steam Deck 2, learn what the hybrid model means for your code, and

0
ProgrammingDEV Community ·

How to Generate 500 Realistic Fake Users with PostgreSQL & MySQL Seed Scripts in Seconds

Every developer working on full-stack web applications, e-commerce checkout flows, or database migrations faces the same annoying chore: creating realistic dummy data for testing. Manual SQL scripts take hours to write, and traditional fake data tools either limit you to 1 record at a time or clutter your screen with aggressive ads. Here is how you can generate up to 500 realistic user records with complete database seeding scripts instantly in your browser: You can use the free web utility: Fake Name Generator Online 100% In-Browser Privacy: Zero server logging, zero database storage. Runs co