When a player creates a new room from the main lobby, it could beforehand make the chat server broadcasting to all peers that this player has created a room. There is no need to request the room list regarding the room creations.
However, as rooms can't send messages to another room, there is no way for the master lobby to know if another room has been shut down (for example, a room host closing his browser). This is the reason why I need to return and refresh the room list from my master lobby.
It could be done every 5 secods instead of 1 or 3 seconds, but I'm pretty sure the issue will remain the same. And waiting for more than 5 seconds to actually see the available room is way too long. Anyway, it's still far from "hundred requests in seconds" to flood the server as Ashley mentionned on another thread.
I could also use a refresh button ; but what if, on average, 30 players hit the refresh button every 20 seconds ? It would be 1 room list request every 1,5 sec, so the issue would be the same again.
Or maybe it wouldn't because the requests would come from various rooms ?
(edit : seems to be per peer, as I did theses requests from the host and peer in parallel and they both did 190+ requests)
I wanted to ask Ashley about my issue but we can't send him private messages from his profile. Any way to contact him besides tagging him as you did ?