Hacker News new | ask | show | jobs
by edoceo 2203 days ago
Use websocket in binary mode, pack operations into tiny messages.
1 comments

actually binary websockets won't do in this case since the underlying protocol is still TCP with automatic retransmission mechanism which kills performance for very fast-paced games. You have to use WebRTC in that case
So there's no reason to use binary commands when using something like socket.io?
not much but shaving off some bytes is good in itself