Building a Real-Time Music Service
summary
Building Soundrop migrates a Python/node.js prototype to an Erlang/OTP backend that runs rooms as processes, implements a custom websocket transport, and uses hot code patching to avoid disconnects during fixes. Claims include 6,000+ concurrent listeners synchronized to soft real time playback, per-user and per-room processes for fault isolation, and practical scaling limits (gproc inter-node traffic, MongoDB driver pain). Demonstrated systems actually run, recover from room crashes, and keep most rooms unaffected.
AI-written summary · about
chapters (4)
related talks
40mInto Production
30mHow to Build an End-to-End WebRTC Service
49mInto Production
53mBuilding Performant Backends with Elixir
43mHot Deploying Low-Latency Services for 24/7 Operation
42mBuilding a hosting platform with Python
17mTowards Large-Scale Artistic Practice with Web Technologies
29mUser experience is everything
