In a multiplayer chess game based on web where the server must validate the plays, store the current game state and provide the gameboard info to be rendered on client side, among other things related to the bussiness rules, is it possible to handle several matches in just one server or I have to instantiate one server per match? How is this kind of logic generally implemented?
My main idea is to store each game state on redis, so when an event occurs(like moving a piece), get the state related to that specific match, handle the validations, update it and send the new match state to the clients, As I never did it before I'm not sure if it can work with several matches, what do you guys think?