Remaetanju
May i ask why the game server needs to retrieve his id from the database ?
couldnt he generate it and try to send it to database? so when game start you don't need to get information from db, and if she drops the write it, the server can continue starting the game or prevent it to start depending of the type of match ?
i may oversimplify and extrapolate a lot from the comment
tldr: does the game server have to read from db ?
Good question. tl;dr I believe its due to needing persistent knowledge of what's happening in case of failures and needing to guarantee a unique ID everything agrees on.
I assume from your gender pronouns you are Spanish, French, maybe Italian? I lived in Montreal for a while :)
Starting a game relies on a bunch of services. Parties (friends). Team Builder (matchmaking + other things), Content Access (what you own), Game service manager (delivers your game), Local service manager (launches a game on a physical machine) and more. When something fails (which it will) you need to fall back on known state which means putting it somewhere safe