GOOGLE PRO TIP USE BACK OF THE ENVELOPE CALCULATIONS
The text discusses using back-of-the-envelope calculations to evaluate different design alternatives, specifically focusing on a scenario of generating an image results page with 30 thumbnails. It emphasizes the importance of estimating performance using common numbers and thought experiments, as advocated by Jeff Dean from Google. The text provides examples of serial and parallel design alternatives, highlighting the significance of understanding system performance metrics and making informed design decisions. It concludes by emphasizing the importance of monitoring and measuring system components for accurate projections.
Branching in a Sapling Monorepo
Sapling is an open-source source control system used at Meta for managing a large monorepo. The system introduces directory branching as a solution to the challenges of managing multiple versions of code in a monorepo. Directory branching allows for branching at the directory level, enabling cherry-picking and merging changes between directories while maintaining a linear commit graph at the monorepo level. This approach addresses scalability issues associated with full-repo branching and provides a flexible solution for managing code versions. The system has been well-received by engineering teams at Meta, with various use cases identified for adopting directory branching. Future plans include integrating Git repositories into the monorepo using a lightweight migration mechanism.