Y
Hacker News
new
|
ask
|
show
|
jobs
by
edoceo
2203 days ago
Use websocket in binary mode, pack operations into tiny messages.
1 comments
redka
2203 days ago
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
link
Kiro
2203 days ago
So there's no reason to use binary commands when using something like socket.io?
link
redka
2203 days ago
not much but shaving off some bytes is good in itself
link