Urgent.News

What's breaking now, across thousands of outlets.

Tech

HookSentry CLI: Production-Ready Self-Hosted Webhook Ingestion Proxy, Dead-Letter Queue & Auto-Retry Engine

In modern distributed microservices and event-driven architectures, third-party webhooks are the lifeblood of business operations. Payment confirmations from Stripe or Paddle, inventory synchronizations from Shopify, identity lifecycle updates from Clerk, and CI/CD triggers from GitHub all rely on asynchronous HTTP callbacks. Yet, raw webhook ingestion is notoriously brittle. When your…

In today's landscape of distributed microservices and event-driven systems, third-party webhooks serve as the backbone of business operations. Key examples include payment confirmations from Stripe and Paddle, inventory synchronizations from Shopify, identity lifecycle updates from Clerk, and CI/CD triggers from GitHub. These processes rely on asynchronous HTTP callbacks.

However, raw webhook ingestion is notoriously delicate and unreliable. Restarting application servers during blue-green deployments, database connection pool exhaustion, or encountering unexpected 500 Internal Server Errors can result in lost incoming webhook payloads. Many external providers offer rudimentary retry policies, if any at all, leading to dropped revenue events, inconsistent user states, and time-consuming manual log analysis.

Developers have faced two suboptimal solutions: spend weeks creating bespoke queue infrastructure utilizing Redis, RabbitMQ, or AWS SQS, along with custom retry workers, cryptographic signature checks, and dead-letter handling; or pay for recurring SaaS services like Hookdeck or Svix, which charge anywhere from $30 to $150+ per month merely for forwarding HTTP payloads.

Enter HookSentry CLI, a solution that addresses this challenge. HookSentry is an ultra-lightweight, zero-dependency Go micro-utility and containerized proxy designed to sit between upstream webhook providers and downstream applications. It guarantees zero data loss through local persistence, automated cryptographic verification, exponential backoff retries, dead-letter queuing (DLQ), and manual replay capabilities—all operating on your own infrastructure at a one-time investment.

The primary engineering challenge lies in mitigating the fragility of unbuffered webhooks. Directly exposing application endpoints to the public internet exposes four failure vectors: Stripe, Paddle, Shopify, and Clerk events; potential downtime, 502 Bad Gateway, or database lockouts; deployment blips and cold starts lasting up to 10 seconds returning 502 or 504 errors; and the overhead of verifying cryptographic HMAC signatures for multiple providers.

HookSentry circumvents these issues by deploying as a high-throughput buffer. It ingests payloads with minimal latency, commits them to an embedded write-ahead-log (WAL) key-value engine, verifies cryptographic signatures, and reliably delivers data to downstream microservices. Key features include: 1. Zero-dependency, high-throughput persistent storage using BadgerDB (or SQLite).

Payloads are written to disk with a write-ahead-log before confirmation is sent back to the provider. This ensures no lost data even in the event of a crash. 2. Cryptographic signature verification intercepts payloads and validates authenticity according to provider-specific headers before processing. This prevents forged or tampered data from reaching internal systems.

3. An exponential backoff engine with jitter handles failed downstream responses such as 429, 5xx, or timeouts. The retry algorithm calculates wait times using the formula: Δt = min(t_max, t_base * 2^attempt) ± jitter, preventing a thundering herd scenario when services recover. 4. A persistent dead-letter queue (DLQ) and real-time alerting system flag webhooks that exceed retry thresholds.

Exceeded events are isolated, and structured alerts are sent to configured notification channels like Slack, Discord, or Telegram, complete with payload details. HookSentry provides a simple, cost-effective, and robust alternative to building custom webhook ingestion pipelines or relying on managed services.

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

MarkLogic discloses 31 flaws, five rated critical

Progress Software published 31 security flaws in its MarkLogic Server database on October 12, 2026. Five are rated critical, and three of those score 9.9 out of 10.

  • MarkLogic disclosed 31 vulnerabilities in its MarkLogic Server database on October 12, 2026
  • Five vulnerabilities rated critical, three with maximum severity of 9.9/10
  • Users on earlier patch versions (11.3.6, 12.0.3) remain vulnerable

Why I Built a $5 ESP32 Hardware Firewall to Stop Cyber-Physical Grid Attacks

`The Problem: Physics is Faster Than the CloudAs we rapidly deploy distributed high-voltage infrastructure—like public EV charging stations and autonomous drone landing pads—we are securing them…

  • Hardware firewall built using low-cost ESP32 microcontroller to protect grid systems.
  • Continuous monitoring of charging cable's RMS current and dI/dt to detect attacks.
  • Immediate disconnection of power via relay when anomaly exceeds safe threshold.

When an input moves mid-run, vx keeps the result and skips the save

A cache key is a promise: these outputs were built from exactly these inputs. vx takes the key just before the command runs.

  • When an input changes mid-run, vx skips saving the output.
  • vx keeps the result and marks the changed file.
  • Next run rebuilds from current disk state if file moved.

More from Tuesday 13 October →