TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pondering Amazon's Manyrepo Build System

21 点作者 nephics超过 4 年前

2 条评论

nickm12超过 4 年前
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 未加载
jolmg超过 4 年前
&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.