What is the difference between sync and async matchmaking?

Hi, I was going through photon docs I came across term, Synchronous and Asynchronous matchmaking. I don't what is that. Any example guys?


  • JohnTubeJohnTube mod
    edited October 2017
    Hi @AnkitKushwah,

    Thank you for choosing Photon!

    Synchronous ("classic") matchmaking:
    Rooms considered for matchmaking must be available and alive (in memory, "open") at the moment of matchmaking.
    Empty rooms are removed from lobby list as soon as EmptyRoomTTL is expired (DefaultLobby and SqlLobby).

    Asynchronous matchmaking:
    A matched room' state could be loaded on new join from external source (using webhooks 1.2 + AsyncJoin = true).
    Empty rooms can stay up to 1 hour (or more) in the lobby list (AsyncRandomLobby) after EmptyRoomTTL expiration.
Sign In or Register to comment.