4 ms·
I have seen Erlang VM handle 100k requests per second on a distributed cluster A single JVM server can do that load, scaling and providing fault tolerance for
by Scarbutt 10y ago
I have seen Erlang VM handle 100k requests per second on a distributed cluster
A single JVM server can do that load, scaling and providing fault tolerance for a server that just accepts requests is trivial these days, also, if your requests do computationally intensive stuff you are going to have a very bad time with Erlang.
It all depends on the problem domain.
Exactly, and the domain for Elixir/Erlang is way more niche and specialized than applicable domains of other languages.
I don't have anything against Elixir but part of its crowd just advertises it as the best thing for everything.
- ken47 10y agoThe Erlang VM (modified) has supported over 2M concurrent connections: https://blog.whatsapp.com/196/1-million-is-so-2011 https://blog.whatsapp.com/196/1-million-is-so-2011? Furthermore, assuming each request is mapped to an Erlang process, each of them get their own VM -- no stop-the-world.
- ken47 10y agoCorrection: I meant to say each of them get their own GC, not VM.
- eggy 10y agoLFE (Lisp Flavored Erlang) is a great alternative to Elixir if you prefer Lisp over Ruby syntax. Pony lang is looking to enter the BEAM/OTP arena with its own implementation of supervisors and such. It is actor-based, OOP and is supposedly very fast in the distributed niche.
- Scarbutt 10y agoSince I haven't had use cases for the BEAM/OTP, LFE is definitely what's motivating me to finally dive into the whole erlang ecoystem.
- RX14 10y agoJust to add another data point, I've seen crystal do over 100k requests per second on a single desktop core.