An API that writes straight to a database falls over the day a campaign sends ten times the usual traffic. Putting a queue between the request and the work fixes that, and on AWS the whole serverless architecture runs without a single server to patch. The timing is good, too: AWS raised the maximum timeout for on-demand Lambda Event Functions from 15 to 30 minutes in a recent announcement, which loosens the ceiling that queue workers used to hit. The stack below takes about 90 minutes to stand up.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile