Analyzing Developer Productivity in Monorepo Full-Stack Architectures
Abstract
Modern web application development increasingly favors full-stack cohesion, unifying client-side, server-side, and shared library code within single software systems. A central architectural decision facing engineering organizations is repository topology: managing the codebase within a single unified repository (Monorepo) versus partitioning services across multiple independent repositories (Polyrepo). While industry adoption of monorepos driven by tooling ecosystems like Turborepo, Nx, and Bazel has surged, empirical evaluation of their systemic impact on developer productivity remains fragmented. This paper presents a comprehensive empirical evaluation of developer productivity across monorepo and polyrepo configurations in full-stack architectures. Adopting the SPACE productivity framework alongside quantitative software repository mining and qualitative engineer surveys across 18 development teams, we measure velocity, cross-boundary refactoring cost, build overhead, and cognitive friction. Our findings demonstrate that monorepos significantly reduce cross-stack integration overhead (by 42%) and eliminate API type drift, yet introduce non-linear continuous integration scaling penalties and heightened Git tree contention as team size scales beyond 150 engineers without specialized tooling. We synthesize these trade-offs into an actionable architectural decision framework for engineering leaders.