Re:How Discord Scaled Elixir to 5M Concurrent Users (2017)
by jadbox on Sunday February 24, 2019 @12:58PM
(#19239649)
I have no insight into how Erlang performs this process, but I'd assume Erlang is performing sending messages almost as fast as it's possible, as it's a key part of the platform and has had two decades to perfect it. Most likely this is a limitation of the paradigm (of the Actor model) and not the implementation.
[ Parent
| on HN ]
Re:How Discord Scaled Elixir to 5M Concurrent Users (2017)
by larryweya on Sunday February 24, 2019 @11:23PM
(#19242903)
I believe the bottleneck the author was trying to overcome here is how the Erlang VM moves processes to the back of the run queue once they hit a predetermined number of operations (preemptive scheduling) and not of the Actor Model.