Open klokailo opened 6 hours ago
Our redis cache already included session:CLIENT_ID mapped to GAME_SERVER_NAME for each player's session.
session:CLIENT_ID
GAME_SERVER_NAME
Now we also include gameserver:GAME_SERVER_NAME to GAME_SERVER_MODEL. Said model has these attributes:
gameserver:GAME_SERVER_NAME
GAME_SERVER_MODEL
spydle-fleet-12345-abcde
Note that this model is generated via openapi/swagger and is consistent across GS and MM.
roomid:ROOM_ID
Goal
Our redis cache already included
session:CLIENT_ID
mapped toGAME_SERVER_NAME
for each player's session.Now we also include
gameserver:GAME_SERVER_NAME
toGAME_SERVER_MODEL
. Said model has these attributes:spydle-fleet-12345-abcde
)Note that this model is generated via openapi/swagger and is consistent across GS and MM.
Future TODO
roomid:ROOM_ID
toGAME_SERVER_NAME
in redis for quick lookup and room ID assignment.