I’d rent one (small) VPS for $10 a month and split the bill.
We don’t want to pay for a VPS. We’ve been burned by that too often in the past were you go months paying for a minecraft server that noone is using after the first month
Comment on How to set up a decentralized game/chat server
hendrik@palaver.p3x.de 1 day ago
I’d rent a small VPS for $10 a month and split the bill. As far as I know that’s how most people do it. It’s going to have >99.9% uptime, a fast datacenter internet connection at some central location… The Kubernetes approach adds a lot of complexity, you’ll have your games disconnect anyway if it fails over, and there will be some additional traffic between the locations to keep everything in sync. Unless I’m mistaken about how Kubernetes works.
I’d rent one (small) VPS for $10 a month and split the bill.
We don’t want to pay for a VPS. We’ve been burned by that too often in the past were you go months paying for a minecraft server that noone is using after the first month
Fair enough. I mean for me the equation might be a bit different, I’d pay about 200€ a year in electricity to run 3 efficient computers. And my VPS is only 73€ and I never have to pay for replacement parts (SSDs, harddisks) which I had to replace at home and they have gigabit network, a proper IP address and that’s all way better than what I have at home. So it’s a no-brainer to go for that. But your cost calculation might be different.
mnemonicmonkeys@sh.itjust.works 1 day ago
I’m pretty sure half the point of kubernetes is to have the server automatically reroute traffic when one node goes down
NowThatsWhatICallDadRock@slrpnk.net 1 day ago
That would be a load balancer but is not integral to the working of kubernetes. I wouldn’t consider kubernetes unless you have a need for autoscaling. It’s a lot of overhead for such a limited use case.
You can front any three un-clustered nodes with a load balancer to the same effect
mnemonicmonkeys@sh.itjust.works 19 hours ago
Good to hear. Are there specific example you could point me to? I’d like to learn more
NowThatsWhatICallDadRock@slrpnk.net 19 hours ago
www.cloudflare.com/…/what-is-load-balancing/
docs.nginx.com/nginx/…/http-load-balancer/
I would start here. Most off the shelf proxies can do it
hendrik@palaver.p3x.de 1 day ago
But doen’t that require some software-defined networking or a special network setup? I’m pretty sure with the avergage home internet connection, you’ll fail over to the replica at your friend’s home. But that has an entirely diffetent IP address and the game client will not handle that gracefully.