Building Asynchronous Communication Layer w XMPP, Ruby, Javascript
summary
A production automation layer uses Strophe.js, XMPP4R, ejabberd and BOSH to give TV devices a bidirectional, low‑latency command/response channel that navigates firewalls and relies on SASL for auth. Devices self‑register via in‑band registration, a Ruby gem (vendor) exposes a synchronous DSL built on XMPP4R callbacks and Ruby condition variables, logs flow to Logstash, and the system runs across 60 devices from 17 manufacturers, enabling repeatable playback and ad tests.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 4:44Testing TV devices across platforms
- 12:30XMPP for automation
- 19:16Setting up ejabberd server
- 21:30XMPP client libraries Ruby JS
- 28:04Vendor automation framework
- 37:24Synchronous API design
- 41:41Lessons learned future
- 50:06Q&A
related talks
49mThe Real Time Web with XMPP
20myouve-played-with-realtime-lets-do-it-properly.html License: For reuse of this video under a more permissive license please get in touch with us
25mTaming Client-Server Communication
15mState of the Art Telephony with Ruby
26mBuilding Stream Processing Applications with Ruby & Meroxa
45mKeeping it Real(time)
39mEvented Telephony Application Design with Adhearsion
43mDesigning Event-driven architectures with AsyncAPI
