Re:Achieving 100k connections per second with Elixir
by shaklee3 on Tuesday March 05, 2019 @05:43PM
(#19314959)
Instead of downvoting this comment, can someone write why this is incorrect? I realize it might not be a popular writing style, but references were provided.
[ Parent
| on HN ]
Re:Achieving 100k connections per second with Elixir
by RobertKerans on Tuesday March 05, 2019 @06:04PM
(#19315066)
Because it's not hugely relevant. Yes, Erlang is not a "fast" language by many metrics, but that [very often] is not the reason a team would choose to use it. The sibling and parent comments make up a fairly considered discussion regarding this. A comment in the middle of this conversation saying Go etc win in some benchmark game is a non sequitur
Re:Achieving 100k connections per second with Elixir
by Thaxll on Tuesday March 05, 2019 @06:20PM
(#19315156)
I was replying to someone saying that it depends of the library, the answer is no it doesn't depends of the library, Erlang is not a fast language and it's ok.
Re:Achieving 100k connections per second with Elixir
by mrdoops on Tuesday March 05, 2019 @06:25PM
(#19315176)
There's different kinds of "fast" is the problem.
Are you juggling lots of messages concurrently and orchestrating across complex topologies of nodes? A BEAM language is going to excel. That's why Whatsapp, Discord, and RabbitMQ use Erlang/Elixir.
Are you trying to go really fast in a straight and simple concurrency scenario? Go/Java/C++/Rust is going to be faster than a BEAM language in those scenarios.
You won't want to implement a complex concurrency run-time in Java whereas Elixir is not a good choice for a 3D game engine.
Still, there's nothing wrong with using both.