Phoenix framework - the world's most loved web framework based on Elixir Product Management SaaS

One Billion Record Challenge in Elixir - faster

1BRC again. With some optimizations, I am able to process 1bn lines (using 10k different cities) on a 16 vcpu cloud machine in ~40 seconds using pure Elixir w/o dependencies (288 LoC)! As a comparison, on the same machine, a solution using Explorer.DataFrame’s would give me a runtime of ~20 seconds. Not too bad for pure Elixir!

https://www.ntecs.de/posts/2024-01-29-one-billion-record-challenge-in-elixir-faster/