Last episode in the TCP experiment series passes over 2M msg/sec (by @dbeck74)
If you are new to this series: I started experimenting with a TCP server in Elixir to receive small messages (and learn Elixir). The initial attempts didn’t go so well:
- 22k msgs/sec: http://dbeck.github.io/simple-TCP-message-performance-in-Elixir/
- 100k msgs/sec: http://dbeck.github.io/Four-Times-Speedup-By-Throttling/
- 250k msgs/sec: http://dbeck.github.io/Over-Two-Times-Speedup-By-Better-Elixir-Code/
- 2M msgs/sec: http://dbeck.github.io/Passing-Millions-Of-Small-TCP-Messages-in-Elixir/
The good thing is that I have learned something at every experiment and now I think I have the tooling to start something serious in Elixir.
Read next Compile-time work with Elixir macros