Question about ServerToServer

Options
fss
fss
edited May 2013 in DotNet
Hi,

I have a two types of server applications based on Photon (let’s call them “A” and “B”).
All client applications connects to “A”, when one of a player is willing to interact with other players, application “A” connects to application “B” (ServerToServer connection).

So, is it correct to simultaneously establish multiple connections between “A” and “B” and use simultaneously multiple ServerPeerBase. Or maybe I should use one ServerToServer connection to “B” for all client applications connected to “A”.

Thank you for the advice,
Fedor

Comments

  • [Deleted User]
    Options
    Hi,

    technically, both options are possible.

    A few things to consider:
    - if you are sending large amounts of data, you might want to use multiple connections to distribute the data between connections
    - a S2S-connection uses 1 CCU on each Photon instance. If you are running with a license that allows only a fixed amount of CCUs, you should use only one S2S connection.
  • fss
    Options
    Understood, thanks for the reply!