"Elixir-based Ruby Web Server"
summary
Elixir runs a Ruby web server by letting Phoenix/Plug accept sockets and forward requests to Ruby processes via Erlang ports using Erlang term encoding, so headers status and body roundtrip as native terms. Performance examples show Sinatra responses under a millisecond and JSON parsing in Phoenix down to microseconds; the stack leverages OTP supervision, process isolation and claims handling up to 2 million connections. Streaming support is not yet implemented.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 7:59Why Elixir and Erlang
- 15:48Functional programming
- 24:07Elixir syntax and conveniences
- 31:35Ruby and Elixir integration
- 33:22Server demo
related talks
51mFrom Ruby to Elixir: Developing Web Applications
52mA Rubyist's Survival Guide to Elixir and Phoenix
19mElixir – what it is and why is it amazing?
44mRise of The Phoenix - Building an Elixir Web Framework
41mElixir & Phoenix – fast, concurrent and explicit
48mElixir by the Bellyful
42mIntroduction to Elixir for Rubyists
44mElixir & Phoenix - Fast, Concurrent and Explicit
