Field Notes
Blog
Numbers, traces, and patterns from the systems we work on in production. Mostly RTB, mostly Erlang and Elixir, occasionally the cost spreadsheet.
12 min read
How We Made OTP's socket Module 1.5x Faster
OTP ships two TCP stacks. We spent several weeks profiling and optimizing the newer NIF-based socket backend. It now drains bulk streams 1.5x faster than the …

Louis-Philippe Gauthier
11 min read
How We Made JSON 3x Faster on the BEAM
OpenRTB uses JSON for every request and response. A bidder has to parse and serialize it within tight CPU and memory budgets. Torque is the JSON library we …

Louis-Philippe Gauthier