1 comment

[ 4.7 ms ] story [ 9.1 ms ] thread
I created this many years ago but never really shared it. It's a Serverless webhook publisher (not consumer) for POSTing JSON payloads to other servers.

We still use it at Shotstack to send callbacks to our customers servers when their video renders and other long running processes complete. We’re not talking massive scale but we’re sending about 100,000 requests per month, and it might be useful for an early-stage startup who wants to get something up and running in half an hour (or less).

It runs on AWS Lambda and SQS and running cost is negligable. It includes an exponential backoff which just uses built in SQS delays and keeps track of message attempts via headers. It should be a case of configuring a few variables to customise it to your own needs and deploying it using the Serverless Framework.