What if Master Server goes down?

Options
Hi,

I have following queries related to Load Balancing for Photon Server

1. What if Master Server goes down? During this downtime how will new users join? Is there any fallback for this single point of failure? Will it affect the existing games going in the the game servers?

2. What if one of the Game Servers go down? Will the existing game rooms and client connections get deleted? How do you recommend we handle this case?

Thanks,
Atul

Comments

  • dreamora
    Options
    1. They will not be able to join at all anymore. The Master Server is the entry point that controls the whole environment.
    The most reasonably way to tackle this if you are willing to modify a few of the things is making the game server able to register to more than 1 master server and then have a 'slave master' on a different machine which your client would connect to if the master itself is not reachable.


    2. In this case, there is not much you need to do aside if getting it up soon again if it was there for real load balancing reasons and naturally finding out why it went down.
    But yes, existing rooms etc will be gone if the server is gone and users will just drop out. There are no connections that require removals as the master server does not track users on gameservers. Users completely disconnect from the master when they go to the game server (the 'join room' is physically a disconnect from master, connect to target game server, join game operation)