~/talk

Creating a Chat App in 15 Minutes with Angelo

Talkat Cascadia Ruby 2014 · 2014-08-11..08-12· [ruby, web-platform]
slides:none on file

Claim: a working two‑way chat built in minutes using Angelo gem on top of Celluloid IO with Redis pub/sub and a tiny front end; demo deploys to Heroku deploy and actually runs. Implementation details: WebSockets with 30s ping to avoid router timeouts, fallback example using Server‑Sent Events (auto‑reconnect but IE incompatible), simple Sinatra‑style route builders, and a live demo that succeeds. Numbers: minimal Ruby files, reuse of existing JS front end, and a running demo shown on stage.

AI-written summary · about

  1. 0:00Start
  2. 7:02full duplex communication over a single TCP connection
  3. 8:42design pattern for handling concurrent requests
  4. 25:48Use Web Sockets for duplex communication
~/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.