The Idea of Zomato Food Rescue
Lakhs of orders get cancelled every month. Zomato turned them into cheap dinners for people nearby. How it works, who wins, and the geospatial trick behind it.
In simple words
Every month, more than 4 lakh orders get cancelled on Zomato, even with a no-refund policy. That’s over 13,000 perfectly good meals a day, already cooked, packed and often already on a delivery bike.
On 10 November 2024, Zomato launched Food Rescue. When an order is cancelled, it pops up for customers nearby at a lower price, for just a few minutes. Someone claims it, the rider changes route, and the food reaches a new home in its original, untouched packaging.
How it feels on the claiming side. (Illustration, not Zomato’s real screen.)
It worked. Within four months:
- Customers were rescuing 75% of eligible orders, about 1.5 lakh meals a month (Deepinder Goyal, March 2025).
- Orders were claimed in about 2 minutes and delivered in under 9 minutes on average.
- Eternal (Zomato’s parent) reports about 1.9 lakh kg of food waste prevented by March 2025.
What I understood
Everyone wins something
One cancelled order, five happier people.
| Who | What they get |
|---|---|
| Customer who claims it | A hot meal nearby, cheaper, delivered in minutes |
| Customer who cancelled | Part of their money back (if they paid online), instead of losing it all |
| Restaurant | Compensation for the cancelled order plus a share of the new payment |
| Delivery partner | Paid for the whole trip, including the new drop |
| Zomato | Keeps nothing except government taxes, and gets less waste and a lot of goodwill |
That last row surprised me. Zomato doesn’t earn from Food Rescue directly. The new customer’s payment is split between the original customer and the restaurant. The win for Zomato is fewer wasted meals, happier restaurants (99.9% opted in) and customers who discover a new reason to open the app.
The rules that make it work
- 3 km from the rider, not from the restaurant. The food is already moving, so “nearby” means near the bike carrying it.
- A few minutes to claim, so the food stays fresh.
- Veg customers never see non-veg orders.
- Temperature-sensitive items like ice cream, shakes and smoothies are excluded.
- The original customer and people in their immediate vicinity can’t claim it.
That last rule is the anti-misuse rule. Without it, someone could cancel an order and have a neighbour (or a second account at the same address) claim it at a discount. Zomato hasn’t said exactly how big that excluded zone is.
The geospatial part: “who is within 3 km?”
Here’s the system design problem. The moment an order is cancelled, you need to find everyone within 3 km of a moving bike, minus a small zone around the original customer, in well under a second. Checking the distance to every user in the city would be far too slow.
The standard trick (Zomato hasn’t published its exact setup) is to cut the map into cells:
- Split the city into a grid of cells. Common schemes are geohash (squares) and Uber’s H3 (hexagons). Every location gets a short cell ID.
- Store each active user under their cell. Users in the same cell share the same ID, so a lookup is fast.
- Find the rider’s cell and its neighbours. Only users in those few cells are candidates.
- Do the exact distance check on that small list. Keep anyone within 3 km.
- Remove the excluded zone around the original customer, and apply filters like veg or non-veg.
The circle moves with the rider. Homes inside it get the offer, except near the original customer. (Illustration.)
You can try the same idea in Redis, which stores locations as geohashes under the hood:
GEOADD active_users 72.8777 19.0760 user:42 # keep users' live locations
GEOSEARCH active_users FROMLONLAT 72.88 19.07 BYRADIUS 3 km # who is within 3 km of the rider?
Two people tap “Claim” at once
Only one person can get the parcel. This is the same problem as my movie seat post: the first claim wins in one atomic step, and everyone else sees “already claimed”. Since the claim window is only a few minutes long, the offer itself works like a short-lived hold.
How busy does it get?
Food delivery peaks on New Year’s Eve. On 31 December 2021, Zomato crossed 8,000 orders a minute, while Swiggy hit about 9,500, which it called the highest ever for food delivery in India. On 31 December 2025, Zomato and Blinkit together delivered a record 75 lakh orders, despite a gig workers’ strike call.
Could it be better?
- Gaming is still possible. The no-refund policy and the excluded zone help, but people can try to cancel on purpose and claim from a distance.
- Quiet areas get fewer rescues. With a 3 km radius and a few-minute window, a cancelled order in a low-density area may find nobody.
- Trust matters. Untouched packaging is the whole promise. One tampering incident could hurt the feature.
- Riders take a detour. They’re paid for it, but rerouting adds time to their shift.
How I’d apply it
- Turn failures into inventory. Cancelled orders, unused bookings and expired holds can often be resold.
- Index locations with cells, then check exactly. Geohash or H3 for the fast first pass, real distance for the final list.
- Design abuse rules from day one. Exclusion zones, one claim per user and short windows are cheap to add early.
- Let the first claim win atomically. One owner decides, and the rest are told immediately.
What I learned
1. A cancelled order is inventory, not waste
The food is cooked, packed and moving. The only missing piece was a buyer nearby, and the system finds one in minutes.
2. “Nearby” means near the moving thing
Measuring from the rider, not the restaurant, is a small decision that makes the whole feature work.
3. Geospatial search is a two-step trick
Cells give you a fast shortlist. The exact distance check makes it correct.
4. Good features protect themselves
Excluding the original customer’s neighbourhood is what stops a kind idea from becoming a discount hack.
Sources
- Deepinder Goyal on X: Food Rescue launch, Nov 2024
- afaqs: Food Rescue rules, payments and opt-in
- Storyboard18: Food Rescue saves 1.5 lakh meals a month, Mar 2025
- Eternal: Waste-free world (food waste prevented)
- Business Today: 9,000 Swiggy and 8,000 Zomato orders per minute, NYE 2021
- Free Press Journal: Swiggy peaks at 9,500 orders per minute, NYE 2021
- Zomato and Blinkit hit 75 lakh orders on NYE 2025
- Uber: H3 hexagonal spatial index
- Redis: GEOSEARCH
- Reels that got me started: Shivam Engineer, Kaamora Tech (system design), Kaamora Tech (business model), Explayner Videos