Flipkart Arun Kumar Reddy Jun 28, 2023

Optimising Page Load Times in Flipkart Mobile App

Article Summary

Flipkart shaved 30% off page load times in their React Native app with 500M weekly visits. Here's how they did it without rewriting everything.

With 180M+ downloads and users on flaky networks with low-end devices, Flipkart's engineering team spent a year optimizing their hybrid React Native architecture. They focused on React Native bridge bottlenecks and network layer improvements.

Key Takeaways

Critical Insight

The optimizations delivered a 30% improvement in page load times and drove a 0.5% increase in overall revenue.

The team discovered that lock synchronization costs more than string deserialization, a counterintuitive finding that changed their entire data transfer strategy.

About This Article

Problem

Flipkart's React Native bridge was slow because every write to nested native maps and arrays needed synchronization locks. This became a real bottleneck in their hybrid architecture.

Solution

Arun Kumar Reddy's team switched to sending data as serialized strings instead of deeply nested bridge payloads. This cut write operations down to a third of what they were and let them emit payloads earlier.

Impact

Page load times improved by 15-20%. The team found that deserializing strings actually performs better than creating objects on the React Native bridge.