Hot Off the Open-Source Grill: RIBs, Scalable Multiplatform App Architecture
summary
Uber outgrows its old single-activity app and builds RIBs as a multiplatform framework (Java and Swift) that isolates state in a hierarchical tree, scoping state lifetimes to avoid long-lived shared objects. A 2016 rider rewrite ships with half as many conditional branches, the codebase later doubles without large classes, and achieves 99.97% crash grade. Tooling includes Dagger components, an annotation processor to generate test components, AutoDispose checks, and IntelliJ templates; modularization cuts incremental compile from minutes to ~12 seconds.
AI-written summary · about
chapters (6)
- 0:00Introduction to RIBs
- 3:32Why RIBs architecture matters
- 4:14Problems with old app architecture
- 14:59RIBs design and principles
- 27:19RIBs tools and features
- 32:34Open-source and next steps
related talks
44mRIBs - Uber's new mobile architecture that scales to hundreds of engineers
01h 00mMobile Architecture at Scale
42mTools of the Trade
48mMobile Developer Productivity at Scale
20mTools for SwiftUI adoption at scale
20mBreaking Down Modularization
31mBest Practices for Architecting Server-Driven Web/Mobile Apps
39mTools of the Trade
