Architecture at Scale
summary
Cash App scales to 40+ engineers and 600+ modules using strict unidirectional data flow where views consume plain UI models and emit UI events while presenters produce models and run side effects; views are written in Kotlin or XML, presenters in Rx, Coroutines or Compose, and all three presenter types are bridged so modules coexist. Tests run on the JVM with Paparazzi snapshots (no fake presenters), state is authored with Molecule bridging composables to flows, and an internal Broadway factories for views and presenters wires modules together — the stack is in production and eases migration.
AI-written summary · about
chapters (8)
- 0:00Introduction and background
- 3:23Unidirectional data flow
- 7:17UI testing with Paparazzi
- 12:41Presenter lifecycle with coroutines
- 17:05Molecule for reactive UIs
- 23:26Navigation and screen routing
- 25:16Broadway architecture overview
- 31:49Summary and references
related talks
35mSweet Architecture
38mArchitecture Agnostic UI Development
41mBreaking ViewModels into smaller self-contained UI models
31mArchitecture metamorphosis: a real case study
30mArchitecting an app with MVP and ViewModels
35mcomponentization architecture with RxJava + Kotlin
45mScaling Architecture at Lyft
22mArchitecture First: Foundations for Long Term Success
