~/talk

Improving Instagram iOs Build Speeds

Talkat Mobile @Scale 2023 · on Wednesday, 2023-10-25· [devops-and-delivery]
links:none on file
slides:none on file

Instagram cuts incremental iOS build/link times by restructuring the monorepo: move shared code into xplat and fbbc frameworks, extract a core infra framework, and break product code into per-product frameworks so linking runs in parallel under Buck. A modularity sprint on Direct yields 50% faster link times (fast links ≈19s) and overall builds drop from ~2 minutes back to ~20s (about a sixth). Enforceable build-time rules plus an internal dependency injection layer and dashboards scale this to 31 products (≈35% fast-link rate).

AI-written summary · about

  1. 0:00Introduction
  2. 1:52Initial vs incremental builds
  3. 3:39Linking as bottleneck
  4. 4:42Splitting code into frameworks
  5. 7:50Framework structure by layers
  6. 9:34Core framework for shared code
  7. 11:42Incremental product frameworks
  8. 13:52Incentivizing modularization
  9. 15:16Team achieves 50% faster builds
  10. 15:58Scaling modularization
  11. 17:21Results and improvements
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.