Polling versus WebSockets for real-time game updates? dont you think web sockets are better anyway
Insun Kim
·1948 views
hey folks, i'm working on a new multiplayer game and kind of stuck on how to do the real-time state updates. we've got a situation where player positions and what they're doing need to be sent out a lot. at first, i thought about polling, but with so many updates, it might get slow. web sockets seem like the clear way to go for two-way, quick communication. has anyone had problems with web sockets not scaling in games with tons of updates, or are there other ways i should look at? what have you guys found?
34 comments