Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hnav
on Oct 19, 2023
|
parent
|
context
|
favorite
| on:
Reflect – Multiplayer web app framework with game-...
Why does TCP have so much overhead? 30 messages that you don't batch is 30 packets either with TCP or UDP.
holoduke
on Oct 19, 2023
[–]
TCP got a much higher ping delay. For real fps like multiplayer experience you definitely need UDP. Packet loss should be ignored, not retried.
meheleventyone
on Oct 19, 2023
|
parent
[–]
This isn’t as true anymore but it’s definitely best practice to build on UDP. Games built on UDP normally have several different policies including the ability to send messages that guarantee delivery even if packets get lost.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: