India’s Leading Domain & Web Hosting Provider
QSR chain processes 6x lunch-hour orders with zero dropped POS pushes
Burger and containers QSR chain, 380 outlets in 42 cities · Pan-India · 8 weeks
As-is situation
Online orders arrived from the chain's own app and website and from two food-delivery aggregators via webhooks, all handled by a PHP ordering monolith on four VMs. The monolith pushed each order synchronously to the outlet's POS through a vendor API that accepted about 15 requests per second per region. Between 12:30 and 2 pm and 8 and 10 pm, order volume rose sixfold, POS pushes timed out, and aggregator webhooks failed, triggering automatic order cancellations. The chain lost roughly 2.3% of peak-hour aggregator orders, and outlet staff re-keyed orders manually from tablets.
- 2.3% of peak-hour aggregator orders auto-cancelled because webhook responses timed out
- POS vendor API limited to about 15 requests per second per region
- Four VMs sized for peaks running 24x7 for a business closed after midnight
- Manual re-keying of orders at outlets during every lunch peak
Selected Google Cloud services and architecture
NTSPL split ordering into Cloud Run services in asia-south1: a webhook receiver that verifies aggregator signatures, stores the order in Cloud SQL and returns within 150 ms; an order API for the app and website; and a menu service cached at Cloud CDN. POS delivery moved to Cloud Tasks with one queue per POS region, each limited to 12 dispatches per second with exponential retry and dead-letter alerts to the outlet operations team. Minimum instances rise at 11:45 am and 7:30 pm through Cloud Scheduler and drop to zero after closing. Menu sync and daily sales reconciliation run as Cloud Run jobs.
Implementation approach
Measured results
Operational improvements
- Outlet teams see failed POS pushes as dead-letter alerts instead of discovering missing orders
- Peak-hour preparation is a Cloud Scheduler change, not a VM resize
- Menu updates sync to all channels through a scheduled job rather than manual uploads
Cost considerations
Request-based billing suits the two daily peaks with near-zero overnight traffic. Scheduled minimum instances cost a few thousand rupees a month but removed first-order cold starts at opening. Cloud Tasks operations at around 2.4 million a month cost little compared with the cancelled-order revenue it protects.
Return on investment
Recovering cancelled aggregator orders is worth an indicative INR 1.8-2.4 crore in annual revenue across 380 outlets, while compute savings add about INR 26 lakh a year. Eliminating manual re-keying returned roughly 12,000 outlet staff hours annually to food preparation.