Posts tagged “webhooks”

  1. How do you deliver webhooks so no event is ever lost?

    Write every event to an outbox, retry with backoff and jitter for a day or more, sign each request with a timestamp, and let receivers replay what they missed. Receivers answer fast, deduplicate by event ID and never trust order. The design, and the quiet failure it prevents.

    · 8 min read · System Design

  2. API keys, OAuth client credentials or mTLS: how should services authenticate?

    API keys are simple and fine for low-risk public APIs if they're hashed, scoped and rotatable. OAuth client credentials give short-lived, scoped tokens and central control. Mutual TLS proves identity at the connection level and suits internal service meshes. Signed requests (HMAC) protect…

    · 6 min read · Security