Micro Modular Architecture with Bazel
summary
Bazel is used as the build system with Bazel remote cache and the Apple/Swift rules to build a micro‑modular iOS app split into hundreds of small modules (apps, features, domain, libraries). The approach emphasizes CI speedups via remote caching and modularization, with reported results like 1m30s for a clean build + unit tests, and large build time reductions (20–85%) at companies such as Pinterest, Tokopedia and LINE. Adoption requires substantial tuning and involves some tradeoffs with Xcode.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:15Monolith drawbacks
- 3:04Micro modular architecture
- 10:57Bazel features
- 17:06Bazel build files
- 26:52Bazel trade-offs
- 29:37Micro modular + Bazel synergy
- 38:00Summary
related talks
11mPerformant Bazel Builds for Web Monorepos at Scale
30mModularization
27mModularising the right way
32mBuild a modular Android app architecture
01h 28mApps at Scale: An Industry Discussion
42mSplitting Monolithic Swift Code Base Into Modules
20mBreaking Down Modularization
39mModularization techniques from monolithic to multi-packages app
