Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
edoceo
on June 12, 2020
|
parent
|
context
|
favorite
| on:
Play Counter-Strike 1.6 in your browser
Use websocket in binary mode, pack operations into tiny messages.
redka
on June 12, 2020
[–]
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
Kiro
on June 12, 2020
|
parent
[–]
So there's no reason to use binary commands when using something like socket.io?
redka
on June 12, 2020
|
root
|
parent
[–]
not much but shaving off some bytes is good in itself
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: