Capstone: Benchmark against real Redis
Elixir lands above Ruby/Python, comparable to Node, below Go/Rust. GenServer.call adds ~1us per op vs direct ETS. The ETS exercise closes most of the gap.
Elixir on the throughput chart
How to close the gap: ETS instead of GenServer (~2x on GETs), Ranch or ThousandIsland for the acceptor (more performant accept loop), pipelined client, NIFs for the parser (the Erlang equivalent of bytes::BytesMut).
Quiz: Quiz
Loading practice…