Catalogue / yotpo-2022-webhook-delivery

Yotpo consolidates several product-specific webhook senders into one delivery system on Kafka, SQS and S3

Yotpo. Unified webhook delivery system.

Organisation
Yotpo
Evidence
Reported from production
Source
Building a scalable webhook delivery system using Kafka, SQS & S3

Yotpo Engineering (Medium), published 2022-05-26 (Read from the archive copy, which prints May 26 with no year; the year is that of the capture, made on 2022-05-26.)

Records

Decision#d1

Consolidate several product-specific webhook senders into one payload-agnostic delivery system

Decision#d2

Fan events out from Kafka into one SQS delivery per target, with payloads over the SQS limit kept in S3

Decision#d3

Build the retry manager in-house on SQS delayed messages after finding no existing solution that fit

Decision#d4

Promise delivery that may repeat, with a unique event id for deduplication, and no ordering

Decision#d5

Keep subscription configuration in a local in-memory cache so matching events does not load the database

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.