Godot Tutorial Project Question

New user looking into Rivet here, I have been reading through the server authoritative Bomber tutorial code and had a question. Would a rivet server run multiple sessions on the same server or just one? I have a turn based game I am looking to turn into a online match multiplayer game and I was trying to find if there is a way for a Rivet server to run multiple matches at the same time to help save on costs or am I missing something? Any and all help appreciated, thank you! (edited spelling)
13 Replies
Nathan
Nathan16mo ago
yo! we support running up to 8 godot processes on the same machine by setting the tier to basic-1d8 https://rivet.gg/docs/dynamic-servers/concepts/available-tiers
Available tiers - Rivet
Hardware AMD EPYC 7713 64-Core Processor Clock Speed 2.0 GHz base, 3.675 GHz boost
Nathan
Nathan16mo ago
godot doesn’t play well with running multiple lobbies within the same process how many servers do you plan on running per cpu core?
BigBlueHeron
BigBlueHeronOP16mo ago
That is an excellent question I hadn't fully thought out 😅 I had looked at nakama and how custom game logic could be made per game state instance with the server running multiple ones and I was wondering if something similar can happen maybe 4 - 8? 😅
Nathan
Nathan16mo ago
totally, that’s part of open game backend (https://opengb.dev). we have something called actors which works similar to nakama’s multiplayer. docs are wip, we’re already using it run some pretty heavy load. what language were you looking to write your server in? oh then tier-1d8 should cut it if you’re planning on writing a godot server using godot’s networking
BigBlueHeron
BigBlueHeronOP16mo ago
ok and if I am worried about future scaling are there any best practices other than using more server boxes?
Nathan
Nathan16mo ago
rivet takes care of that for both systesm (either using godot server or opengb actors). for game servers, we make sure there's enough hardware to start your server, so your server can start in ~5 seconds. for opengb actors, the rivet team has been doing autoscaling for games for a looong time now, that's our bread and butter
BigBlueHeron
BigBlueHeronOP16mo ago
gotcha! Thank you! Also are there resources on self hosting? Thank you for your patience with so many questions
Nathan
Nathan16mo ago
you're looking to self-host Rivet for game servers, right? if you're looking to just self-host opengb i can send that
BigBlueHeron
BigBlueHeronOP16mo ago
What is the difference?
Nicholas
Nicholas16mo ago
Rivet is game servers, scaling, and DDoS mitigation. OpenGB is the scriptable backend, so it depends on if you are using Godot Server or our actor system RIvet gives you $5 monthly free credits for development
BigBlueHeron
BigBlueHeronOP16mo ago
Interesting!! Yeah learning more about OpenGB might be the solution as much as I want to make my server in Godot it may be better if I can host more lobbies per server 🙂
Nicholas
Nicholas16mo ago
cool, @Nathan for vis on docs for this
BigBlueHeron
BigBlueHeronOP16mo ago
Thank you both

Did you find this page helpful?