My first week in Mumbai, a colleague who spent his days babysitting cloud systems walked with me from Churchgate toward Colaba and kept pointing at things. A ticket queue, a flooded underpass, a taxi with its meter running while the driver waited for a passenger. “That is my whole job,” he said, “only mine happens in data centres.” He was describing ServerlessOps, the craft of keeping small pieces of event-triggered code behaving when real traffic, real delays and real mistakes arrive. Here are seven journeys across the city, each paired with one lesson from that conversation.
1. The 6 p.m. platform: cap the crowd before it caps you
At rush hour a suburban platform does not fail because the trains are slow. It fails because too many people arrive at once for the space available. Cloud platforms hand each account a shared ceiling on how many functions may run simultaneously; the Ops Atlas, a public glossary of operations disciplines, quotes a default regional pool of 1,000. If a burst of events uses all of it, unrelated services starve, and whatever sits downstream of the burst can be flattened.
One habit worth borrowing: size for peaks that touch roughly 70 percent of the ceiling at most, and give each busy function its own explicit cap. Crowd marshals on a platform do the same job when they stop people at the stairs.
2. The tiffin relay: one lunchbox, one delivery
Picture a lunchbox passed through several hands between kitchen and office. If a handoff is muddled, the box must still end up delivered exactly one time, never twice at one desk and never lost. Systems that react to events have the identical problem: messages are delivered at least once, so a repeat is normal behaviour and not a malfunction.
The defence is a reference that identifies the real-world action, such as an order number, not the number the courier stamped on the parcel. The Atlas stresses this distinction because a re-sent message can arrive wearing a brand-new identifier. Its simulation of ten thousand orders with a few percent of duplicates and timeouts ended at zero double charges only when the order number was used as the key.
3. The monsoon backlog: know how old the queue is
When the rains flood a stretch of track, the number of waiting commuters matters less than how long the oldest of them has been waiting. Stations announce delays by time, not by headcount. In event processing, the same idea shows up as backlog age: the Atlas lists it among the signals worth tracking, ahead of raw queue length.
It also gives a feel for the platform’s built-in patience. Asynchronous events can sit in line for up to six hours and are tried twice more after a failure, according to the sheet’s figures, and after that they vanish unless a catch basin has been prepared. Which brings us to the next stop.
4. The lost property office: a bin with a name on the door
Every big terminus has a place where forgotten bags end up. A good one has a clerk, opening hours, and a register. A bad one is a pile in a corner. The failure queue attached to a function is the same kind of room, and the Atlas calls out the unowned version as an anti-pattern: stuff goes in, nobody looks, and weeks later the contents are worthless.
A workable setup means somebody is told when an item arrives, the room stays open for longer than the original line kept its messages, and the contents can be put back on their journey after the cause is fixed. Redriven items get new identifiers, which is one more reason the business reference matters.
5. The taxi that waits: do not pay while somebody else dawdles
Hail a cab, ask the driver to hold while you chat with a shopkeeper, and the meter keeps climbing. Function code that calls another function and waits has the same billing shape. The caller is charged for every second of the wait. The Atlas includes a lab run where a single sluggish downstream dependency took ten times longer per call. Its test bill jumped from about $58.80 to $531.30, while simultaneous executions at the peak grew from 84 to 840, uncomfortably near the 1,000 ceiling.
That is a tenfold slowdown producing a tenfold bill and a near-collision with the ceiling. It is the reason the sheet advises against long synchronous chains and recommends setting the downstream timeout shorter than the function’s own.
6. The ferry timetable: nested time budgets
A harbour ferry schedule works because each leg is shorter than the one it sits in. The boat does not leave the jetty fifteen minutes before the last train connection; it leaves with slack. A function with a 15-minute limit that spends 14 minutes waiting on a slow call leaves no room to report the failure properly.
For queues feeding functions, the Atlas offers a rule of thumb: let a message stay hidden from other workers for at least six times the function’s timeout, so a slow run does not trigger a second copy to be started. The sheet also notes platform limits that vary: 900 seconds for one popular function service, up to 60 minutes for request handling on a container-based platform, and 30 minutes by default on a third provider’s flexible plan.
7. The idling engine: warm-ups that are not needed
Some drivers leave the engine running so the car is always ready. It feels sensible and it burns fuel for little gain. A similar superstition surrounds functions: people schedule regular pings to keep them warm. The Atlas points out that only under 1 percent of invocations on the main platform it covers are affected by cold starts, and that when startup time really matters, paid features namely capacity provisioned ahead of time or snapshot-based startup are the proper answer.
The same page cautions that going serverless is not automatically the cheaper choice. A constant, heavy load may suit always-on containers better, and the Atlas mentions a streaming-video team that moved a monitoring job off per-step orchestration onto a single process for cost reasons. Choosing the vehicle deserves evidence.
Putting the seven stops on a map
If you want one route that touches all of them, begin with the ownership question. Who is told when something goes wrong? Then add the limits, then the numbers. The Atlas suggests a ninety-day arc: inventory what triggers what in the first month, add duplicate protection to the five functions with real-world side effects in the second, and finish with a cost-per-event review and a rehearsal in the third. It labels this as its own proposal, not a standard, which seems fair.
Anyone wanting the reference material can open the ServerlessOps page in the Ops Atlas and read the details at leisure. For the city side of the story, our own approach to stitching a full Mumbai sightseeing trip together without stress pairs well with a wider tour covering Mumbai’s history, food and everyday rhythm for anyone who wants to see the places I kept pointing at.
What stayed with me
Walking back along Marine Drive that evening I tried the exercise myself, naming one real-life version of each lesson. The seawall crowd at sunset was a concurrency story. The chaiwala who remembered my order was a duplicate-protection story. The shuttered kiosk with a phone number taped to the shutter was a failure queue with a name on the door. It took ten minutes and I have not been able to stop doing it since.
That, to me, is the real test of any operations idea: whether you can see it in a place you already know, without needing a diagram. If you can, you will recognise the problem faster when it shows up in your own systems, and you will ask the right question first.
By the time we reached the Gateway, my colleague had stopped talking about cloud platforms entirely. What he wanted me to notice was that a city of this size runs on small, well-understood promises: this train will come, this box will arrive once, this office will keep your bag. Good operations feels like that from the inside too. Nothing dramatic happens, because someone thought about the bad day in advance.