Differences between websockets and long polling for turn based game server
For anyone else who may be wondering, it could depends on how long typical interactions go between events? Websocket: Anything more than a few tens of seconds, I don’t think keeping a websocket open is particularly efficient (not to mention that IIRC it would disconnect anyway if the app loses focus) Long polling: This forces … Read more