Re:Infinite Git repos on Cloudflare workers
by justincormack on Friday October 25, 2024 @03:01PM
(#41948503)
Github werent terribly happy with the number of branches we created for this type of use case at one point.
[ Parent
| on HN ]
Re:Infinite Git repos on Cloudflare workers
by 0zymandiass on Friday October 25, 2024 @04:42PM
(#41949505)
A branch doesn't use any more space than a commit... I'm curious what their complaint was with a large number of branches?
There are various repositories with 500k+ commits
Re:Infinite Git repos on Cloudflare workers
by JasonSage on Friday October 25, 2024 @07:52PM
(#41951211)
I’m assuming GitHub has a fair amount of database/cache overhead for most things, especially branches. I think that most things the web client sees are all database content and that there’s no usage of git/filesystem in any hot paths for web views.
So I can easily see why having many branches is more storage than the same number of commits.
Re:Infinite Git repos on Cloudflare workers
by dizhn on Friday October 25, 2024 @05:17PM
(#41949865)
It might be something silly like the number of items in the Branches dropbox menu.
Re:Infinite Git repos on Cloudflare workers
by justincormack on Saturday October 26, 2024 @06:11PM
(#41958103)
That actually worked really well, and provides great branch search features when you have lots.
Re:Infinite Git repos on Cloudflare workers
by justincormack on Saturday October 26, 2024 @06:10PM
(#41958096)
We appeared on a list of the top 10 most egregious users of github so I assume they had database entries for these…