~/talk

Behind the scenes of Real Time Notifications

Talkat CakeFest 2015 · 2015-05-28..05-31· [web-platform, nodejs]
links:none on file
slides:none on file

Explains how HTTP hacks (XHR polling) cost resources and how long polling and Web APIs change that, then shows a working integration: CakePHP + Node.js + Socket.io sends JSON notifications when articles or comments change, PHP pushes to Node via an HTTP endpoint, Node emits into rooms per article, clients receive updates with almost no extra requests (demo shows two long-poll hits in 60 seconds versus ~60 XHRs), falls back to long polling for older IE, requires shared session cache and careful PHP serialization.

AI-written summary · about

  1. 0:00Introduction to Real-Time Web
  2. 2:50Traditional HTTP and Polling
  3. 4:38Long Polling Techniques
  4. 7:19Real-world Examples and CORS
  5. 10:55HTML5 Server-Sent Events
  6. 15:16WebSockets Protocol
  7. 18:21Node.js and Non-Blocking I/O
  8. 21:47Socket.io Implementation
  9. 25:55PHP and Node.js Integration
  10. 34:44Q&A and Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.