How to self-host a highly available git server cluster?
marauding_gibberish142 @ marauding_gibberish142 @lemmy.dbzer0.com Posts 16Comments 399Joined 4 mo. ago
marauding_gibberish142 @ marauding_gibberish142 @lemmy.dbzer0.com
Posts
16
Comments
399
Joined
4 mo. ago
Deleted
Permanently Deleted
Well it's a tougher question to answer when it's an active-active config rather than a master slave config because the former would need minimum latency possible as requests are bounced all over the place. For the latter, I'll probably set up to pull every 5 minutes, so 5 minutes of latency (assuming someone doesn't try to push right when the master node is going down).
I don't think the likes of Github work on a master-slave configuration. They're probably on the active-active side of things for performance. I'm surprised I couldn't find anything on this from Codeberg though, you'd think they have already solved this problem and might have published something. Maybe I missed it.
I didn't find anything in the official git book either, which one do you recommend?