One Nakama Instance many games

I am planning our studios Nakama server setup (just on-prem for now)
And we want some shared accounts, and possibly some shared data between our games.
It’s mostly server authoritative games, with no real-time multiplayer features at this time.

So I was wondering if I should run just one Nakama instance, and let that be the server for all the games, or if I need to set up several instances of Nakama, and handle accounts and data sharing in another way?

Hi @MightyPossum

Nakama and its APIs are really designed to have one game per server deployment. You can “hack it” to make it run multiple games under the same server, but you may encounter multiple issues, as well as classic multi-tenancy issues: single point of failure for multiple titles, resource unbalance across games with different requirements or usage patterns, etc.

Our recommendation is to have a server per game, and if you want to link the users to a central identity, have a separate central identity system and have the different servers do custom auth against it, using a before hook, as explained here: Custom Authentication with Third-Party Services - Heroic Labs Documentation .

Hope this helps