~/talk

Introduction to WebSockets

Talkat SpringOne2GX 2012 · 2012-10-01..10-03· [web-platform, javascript]
links:none on file
links:none on file
slides:none on file

Demonstrates a working Bitcoin RT demo that replaces long polling with a single persistent WebSocket connection, sending compact JSON frames (trade amount, exchange) over an HTTP 101 upgrade; shows node + SockJS fallback, D3.js for visualization and MongoDB for storage, and Java options: Tomcat’s WebSocket servlet, Atmosphere for portable fallbacks and Vert.x. Highlights real issues: ~40% IE share worldwide (≈90% in China) and proxy/keep‑alive problems, so native WebSockets work but fallbacks and heartbeat protocols remain essential.

AI-written summary · about

  1. 0:00Introduction to WebSockets
  2. 1:49Understanding WebSockets
  3. 7:17Bitcoin Real-time demo
  4. 14:51Why not use WebSockets?
  5. 17:54Challenges in the wild
  6. 27:54Maintaining connection
  7. 32:28History and protocol specs
  8. 50:33WebSocket libraries and fallback
  9. 58:16Java WebSocket support
  10. 1:04:56JSR 356 Java API
  11. 1:07:15Using Atmosphere for Java
  12. 1:12:32Conclusion and Q&A
~/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.