~/talk

Websockets as the glue to interactivity

Talkat CakeFest 2023 · 2023-09-28..09-30· [web-platform, web-performance]
slides:none on file

Websockets power more than chat: the talk shows a working locker system for Belgian Railways where hardware processes (payment terminal, coin hopper, QR reader) connect via a device status aggregator and RPC to open doors and dispense coins; about 30 device types and clustered terminals share a single websocket backend. Tools demonstrated include Ratchet for PHP servers and crossbar (WAMP) for scalable pub/sub and RPC. Claims: PHP handles 10,000 pub/sub connections; for scale use dedicated websocket servers, increase Nginx timeouts, and prefer libraries over raw WebSocket APIs.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:07Old vs new web interaction models
  3. 3:54How WebSockets enable real-time communication
  4. 8:26WebSocket events and PHP async support
  5. 10:35Common WebSocket use cases
  6. 13:42Building a simple WebSocket server in PHP
  7. 17:59Publish-subscribe with WAMP
  8. 20:11Remote procedure calls with WAMP
  9. 23:25Scaling WebSocket servers
  10. 25:14Advanced WebSocket patterns
  11. 31:39Hardware integration with WebSockets
  12. 34:28WebSockets for infrastructure monitoring
  13. 35:53WebSockets behind Nginx and HAProxy
  14. 37:39WebSocket libraries and tools
  15. 40:58Q&A on WebSocket limitations
~/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.