How Grab is Blazing Through the Superapp Bazel Migration
Dec 3, 2020Sergii Grechukha

Summary
This post details Grab's efforts to address build time challenges in its large Android and iOS applications. It introduces the concept of the 'critical path' in build graphs and the development of a tool to analyze it, leading to a 7-10% improvement in CI and local build times through module splitting and dependency optimization. For Android, a Kubernetes-based Mainframer infrastructure was implemented, resulting in a 40-50% improvement in local build times. For iOS, remote builds were explored but abandoned due to Apple's hardware restrictions and scalability issues, leading to a focus on other optimization strategies.