India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudQuick-service restaurants (QSR)Retail, E-commerce & Consumer

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

Amazon Web Services
01

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
02

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.

App, website and aggregator webhooks → Global external Application Load Balancer + serverless NEG → Cloud Run order and webhook services → Cloud SQL → Cloud Tasks (per POS region) → outlet POS API
Cloud RunCloud TasksCloud SchedulerCloud Run jobsCloud SQLCloud CDN
03

Implementation approach

Weeks 1-2 · Order-flow mappingTraced every order source, POS call and timeout, and measured the POS API's real rate limits per region.
Weeks 3-5 · Webhook and queue buildBuilt the webhook receiver and per-region Cloud Tasks queues, and switched one aggregator to the new endpoint.
Weeks 6-7 · App API and schedulesMoved app and website ordering to Cloud Run with scheduled minimum instances, then migrated the second aggregator.
Week 8 · Monolith retirementMoved menu sync and reconciliation to Cloud Run jobs and switched off the four VMs.
04

Measured results

Peak-hour aggregator order cancellations
2.3%→0.1%
Webhook response p95
8.5 s→160 ms
POS pushes dropped per week
About 1,900→0 (all retried and delivered)
Monthly ordering platform compute cost
INR 3.6 lakh→INR 1.4 lakh

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
05

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.

06

Return on investment

ROI indicator

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.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.