Swiggy Dec 19, 2023

Optimising the Swiggy Restaurant App

Article Summary

Swiggy's restaurant app was crashing under load. Their React Native app couldn't handle more than 100 orders on budget devices, and they needed to scale 10x.

The Swiggy engineering team shares their journey optimizing their restaurant partner app from single-outlet to multi-outlet support. What started as obvious fixes led to discovering a critical throttling issue that was destroying performance.

Key Takeaways

Critical Insight

Throttling Firebase Cloud Messaging events was the breakthrough that cut API calls in half and enabled the app to scale from single to multi-outlet support without crashes.

The engineer's debugging approach (coffee, yoga, and systematic observation) reveals why the first two optimization attempts completely failed.

Recent from Swiggy

Related Articles