The article highlights Veeps’ case study on scaling their streaming service to hundreds of thousands of concurrent viewers using Elixir. It discusses the challenges faced with Ruby on Rails, the transition to Elixir for improved scalability, the operational benefits of Elixir’s ecosystem, and the positive impact on development processes with LiveView. Key insights include significant scaling achievements, architectural simplicity, and enhanced developer productivity.
Main Points
Technical transformation under Vincent Franco’s leadership
Vincent Franco, CTO of Veeps, led the technical transformation from Ruby on Rails to Elixir, which significantly increased the platform’s ability to handle concurrent users and simplified scaling.
Scaling achievement with Elixir
After transitioning to Elixir, Veeps saw an 83x increase in the number of concurrent users it could support, moving from 20 Rails nodes for big events to needing only 2 Elixir nodes.
Operational benefits with Elixir's ecosystem
The adoption of Elixir and its ecosystem yielded benefits such as architectural simplicity, efficient data ingestion, and an improved developer experience, contributing to the overall productivity of Veeps’ team.
Streamlined development with LiveView
LiveView, part of the Phoenix framework, enabled a more cohesive and streamlined development process between the front-end and back-end teams at Veeps, moving away from React.
Insights
Veeps successfully scaled its streaming service to hundreds of thousands of concurrent viewers using Elixir.
Veeps, a streaming service for live and on-demand events, transitioned from Ruby on Rails to Elixir to manage its scaling challenges. This transition allowed the handling of 83x more concurrent users with increased infrastructure efficiency.
Elixir's ecosystem offers significant operational simplicity and development productivity for Veeps.
Veeps experienced architectural simplicity, efficient data ingestion with Broadway, and improved developer experience through Elixir’s ecosystem, reducing the reliance on external tools and simplifying development processes.
LiveView facilitates a smooth integration between front-end and back-end development at Veeps.
After adopting LiveView, a Phoenix library for building interactive, real-time web apps, the front-end development process became simpler and more integrated, marking a significant transition from React.
Links
- case studies about companies using Elixir in production
- Veeps
- one of the ten most innovative companies in music
- Guinness World Record
- Ruby on Rails
- Vincent Franco
- DockYard
- the one from Discord
- Elixir release
- distributed process group
- Umbrella Project feature
- GenServer
- ETS (Erlang Term Storage)
- Phoenix PubSub
- Phoenix
- Broadway
- Oban
- LiveView