Groww Engineering successfully migrated from Microsoft's retiring CodePush service to a self-hosted solution built on Google Cloud Platform. The new system uses GCP Cloud Storage buckets for data and bundles, CloudFlare for edge caching, and maintains API compatibility with minimal React Native app changes. Key achievements include 90% of users downloading updates in under 30 seconds and improved performance through edge caching. The migration involved modernizing legacy code from Promise polyfills to native JavaScript Promises and implementing custom storage adapters for GCP integration.

7m read timeFrom tech.groww.in
Post cover image
Table of contents
Migrating to Self-Hosted CodePush: Our Journey to IndependenceTL;DRWhat Is CodePush?Why We Decided to MigrateKey Benefits of Self-Hosting1. Independence from Third-Party Services2. Performance Improvements via CloudFlare Edge Caching3. End-to-End Optimization OpportunitiesTechnical ImplementationArchitecture OverviewStorage AdaptationCode ModernizationMobile App IntegrationCLI AdaptationInfrastructure SetupPerformance ResultsWhat’s NextResources

Sort: