Catalogue / square-2018-webhooks-sqs-lambda

Square rebuilds the delivery half of its webhooks on SQS and Lambda, with one queue per subscribing application

Square, 2018. Webhooks delivery (consumer side).

Organisation
Square
Evidence
Reported from production
Source
Reliable Webhooks Using Serverless Architecture

The Corner, Square's technical blog, published 2018-11-27

Records

Decision#d1

Rebuild only the custom delivery side of webhooks on a public cloud and keep the in-house producer side

Decision#d2

Choose AWS SQS with Lambdas that pull from the queue, after prototyping on several clouds

Decision#d3

Give every subscribing application its own queue, and requeue failed sends with a backoff

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.