~/talk

Realtime web applications with streaming REST

Talkat RailsConf 2012 · 2012-04-23..04-25· [ruby-on-rails, web-platform]
slides:none on file

Shows a concrete implementation: a small evented Rack server called Firehose that pushes JSON model representations from ActiveRecord into RabbitMQ queues and serves clients over Thin using HTTP long polling and WebSockets. Claims this replaces polling, keeps the existing Rails API and authorization by HEAD-checking streams, uses RabbitMQ X-expires mailboxes to survive reconnects, and limits transports to two. Prototype runs in staging and is scheduled for production rollout next week.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44Realtime apps at Poll Everywhere
  3. 3:37RESTful APIs and frameworks
  4. 5:01Long polling limitations
  5. 8:52Scaling and team challenges
  6. 12:05Streaming REST vs Socket.IO
  7. 15:20Problems with realtime frameworks
  8. 16:48Firehose streaming framework
  9. 19:39Firehose implementation
  10. 23:14Minimal invasiveness benefits
  11. 24:39Firehose security and plans
  12. 27:46Firehose open source
  13. 28:28Q&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.