~/talk

Amazing WebSockets in Netty

Talkat JDD 2019 · 2019-10-14..10-15· [java, web-platform]
links:none on file
slides:none on file

Pure Netty Java server that upgrades HTTP to WebSocket by detecting the WebSocket handshake and replacing the handler with a frame processor; pipeline starts with HTTP server codec, then a handshake handler, then a WebSocket frame handler. Subscriptions are kept in-memory as channel groups keyed by team; a POST simulate match endpoint sends goal/penalty events to those groups. Uses Netty event-loop groups and non‑blocking NIO, demo shows multiple browser clients receiving live events and clean shutdown; caveats: no auth tokens, sticky load balancing and TCP 65k limits.

AI-written summary · about

  1. 0:00Introduction to Netty
  2. 2:05Understanding WebSockets
  3. 4:32Netty architecture basics
  4. 7:42Netty adoption and alternatives
  5. 9:15Channels and handlers
  6. 15:01Building the HTTP server
  7. 20:24Implementing WebSocket handshake
  8. 24:31Handling WebSocket frames
  9. 27:29Subscription and live demo
  10. 31:36Advanced Netty features
  11. 33:56Security, pitfalls and conclusion
~/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.