TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pondering Amazon's Manyrepo Build System

21 pointsby nephicsover 4 years ago

2 comments

nickm12over 4 years ago
This line about the monorepo from the Dan Luu post always confuses me:<p>&gt; With a monorepo, you just refactor the API and all of its callers in one commit.<p>I have experience working a monorepo at a mid-sized tech company (~1000 developers) and with Brazil at Amazon (tens of thousands of developers).<p>It&#x27;s true that at my monorepo company, that&#x27;s how we did it. However, I don&#x27;t understand how this would work at Amazon&#x27;s scale—for some packages you simply cannot update all the consumers at once and also as the vendor of an API, it&#x27;s not my job to update the consumers. So I need to be able to have multiple versions of my interface resident at the same time. Brazil solves this problem with version sets.<p>How is it solved in these vaunted monorepos at Facebook and Google? If there are N core libraries that each have two versions of their APIs, it it possible for consumers to each pick and chose which APIs to use, or it enforced that libraries just have one version that is &quot;live&quot; at any time?
评论 #24950048 未加载
jolmgover 4 years ago
&gt; A while ago, I pondered monorepo version control systems. This article is at the opposite end of the spectrum: Manyrepos.<p>The opposite of mono- is poly-, though.<p>Using many- is kind of confusing when spoken:<p>&gt; Unfortunately, in manyrepo environments...<p>Sounds and almost reads like &quot;in many repo environments&quot;, which has a different meaning.