How We Decomposed Tinder’s Monolith
Tinder's iOS team decomposed a large Swift monolith by using the Swift compiler to generate a file-level dependency graph, extracting leaf nodes into Swift modules in phased pull requests and automating the file-move and refactor steps. The automation converted an estimated ~12-year manual effort into a sub-6-month project, extracting ~1000 files, reducing monolith build time by ~78%, and removing the ability to add new files to the monolith.