~/talk

What the Web can Learn from Video Game Networking

Talkat UtahJS Conf 2025 · on Friday, 2025-09-12· [webxr, networking]
links:none on file
slides:none on file

Practical rules for real-time web: serialize game state with MessagePack or custom binary to cut payloads from ~37,000 bps down to about 1,200 bits/sec for a two‑player Pong, use server gzip/br compression and the 14 KB TCP initial window trick, colocate DB and Redis cache in the same region and front servers with anycast CDN, and recover from latency by sending fewer updates (send ~12 fps and interpolate on client rather than 60 fps). Thorium Nova demonstrates these patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Latency and bandwidth basics
  3. 2:45Human speech bandwidth fun fact
  4. 3:25Protocol hierarchy and OSI model
  5. 7:21TCP vs UDP limitations
  6. 9:07TCP optimization tricks
  7. 10:12Real-time game demo setup
  8. 13:38MessagePack compression demo
  9. 15:42Minification and compression
  10. 16:25Binary serialization benefits
  11. 17:07Server proximity and latency
  12. 19:35Database and cloud routing
  13. 20:57Caching and CDN strategies
  14. 21:59Handling distant users
  15. 23:25Interpolation and frame smoothing
  16. 24:49Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.