Re:Improving large monorepo performance on GitHub
by londons_explore on Wednesday March 17, 2021 @12:49AM
(#26486674)
It really looks like such a repack ought to be possible in a lockless incremental way. Simply take a snapshot of all the objects in the repo, repack them, and then take a new snapshot of the repo, repack the new objects, and repeat until there is nothing new.
Most repos could be done in one operation, and If bet that as long as repos stay under 10 commits per second this strategy will always terminate.
Most repos could be done in one operation, and If bet that as long as repos stay under 10 commits per second this strategy will always terminate.