The Two Lambda Functions We Deliberately Rate-Limit
auction-crowd-reactions and auction-bots are capped at 20 concurrent executions each — not to save money, but so a crowded room can never starve a real bid.
Of forty-one Lambda functions behind this backend, exactly two have a reserved concurrency limit set: auction-crowd-reactions and auction-bots, both capped at twenty. Every other function is left to AWS Lambda's default — scale to meet demand, up to the account-wide ceiling everything shares. The two exceptions aren't there to save money. They're there because these two functions are the ones most likely to be asked to do a lot of work by people who are watching, not bidding.
What reserved concurrency actually does
Lambda functions in an AWS account share one pool of concurrent executions. By default, any function can use as much of that pool as it needs, which is exactly what you want — until one function's traffic spikes hard enough to eat the whole pool and leave nothing for everyone else. Reserved concurrency carves out — and caps — a slice for one function: auction-bots can never run more than twenty instances at once, no matter how much it's called, and no other function can ever be squeezed out by it either, because that slice is set aside whether it's using all of it or none.
Why these two, specifically
auction-crowd-reactions: the crowd is the public
Anyone signed in and watching a live auction — not bidding, just watching — can tap an emoji reaction during a lot. That function's call volume is driven by how many people are in the room with nothing but a phone and a thumb, which is exactly the kind of number that can spike without warning if a popular local league's auction gets shared around. The function that processes a bid and the function that processes a reaction tap are deliberately unrelated code, but on the Lambda service they'd compete for the same concurrency pool if we let them. Capping the reactions function at twenty means a room full of people mashing emoji buttons has a hard ceiling on how much of the account's capacity it can take — it can get slow for the reactions, never for the bids.
auction-bots: practice mode shouldn't cost a real auction its concurrency
Our practice auctions — the ones anyone can run for free, with computer-controlled bidders filling empty franchise seats — use the same bidding path as a real auction, driven by a function that decides when a computer bidder should raise. Practice rooms can be created far more freely than real ones, and a burst of simultaneous practice auctions is a realistic traffic pattern that a single real league's auction night isn't. The twenty-execution cap means that burst has a ceiling of its own, walled off from the pool a real auction night draws from.
Why not reserve concurrency for everything
The obvious question is why the other thirty-nine functions don't get the same treatment. The answer is that a reservation is a ceiling in both directions — it caps what a function can use, but it also permanently removes that capacity from the shared pool, reserved or not, used or not. Reserving concurrency for every function would mean carefully sizing every one of them against the others, forever, as traffic shifts — exactly the capacity-planning exercise serverless is supposed to let you skip. We reserved concurrency for the two functions where an outside actor — the public, or anyone starting a practice room — can drive load that has nothing to do with how busy our paying use case is. Everywhere else, the default "share the pool, scale to meet demand" is the simpler and, for us, the correct answer.
Can someone OTHER than "a real auction running" drive this
function's traffic up, independent of how much real bidding
is happening right now?
YES → reserve a slice. The noisy neighbour can't be allowed
to eat into the pool a real lot depends on.
NO → leave it on the shared pool. Reserving capacity you'll
rarely need is capacity nobody else can use either.Try a practice auction — bots included
Run a free practice auction in your browser — no sign-up required to watch, no real money anywhere in the bidding.
🎯 No real-money auctions · Pure strategy · Free to download