Say you're making a Texas Hold'em server. We have a single lobby and multiple rooms in which game sessions occur. At what level do you separate rooms?
Initially I thought I'd spawn an instance of node for each room in the lobby. The major benefit being, if a game crashes, it would definitely do so in isolation.
I lost confidence in this approach when I realized that chat-servers typically run as a single daemon managing multiple rooms. It does seem ugly to need a separate listening port for every room in the lobby. I think it also becomes easier to manage identity across rooms - e.g., if the player changes their name.
Any thoughts? Does it make sense to "multiplex" a single node server to manage multiple game room sessions?