</> MAANG.io
system design · 201

Intermediate

Master system design interviews with scalable architecture patterns, distributed systems, and real-world design challenges.

0/124 solved 0% complete

Webhooks

maang.io System Design Series


A webhook flips the API around: instead of a client polling for changes, the server POSTs to a URL you registered whenever an event happens. That efficiency comes with hard problems — retries and at-least-once delivery (so you need idempotency), ordering, and security (HMAC signatures, replay and SSRF protection). It's the glue behind third-party integrations everywhere.

This deep dive comes in three parts:

  • Foundations & Core Concepts — callbacks vs polling and the event-driven flow.
  • Internals — retries/backoff, idempotency keys, signature verification, and scaling delivery, with worked examples.
  • Interview — Staff/Principal Q&A: reliable delivery, security, and webhooks vs polling/websockets.

Sign in to MAANG.io

Use your Google or Microsoft account — no password to remember.

Continue with Google Continue with Microsoft

Please accept the terms above to continue.