4 ms·
Erlang/elixir is a very nice middle ground situation where you can build "monolithically" but also inherently be building services that are isolated, and you ca
by knewter 3y ago
Erlang/elixir is a very nice middle ground situation where you can build "monolithically" but also inherently be building services that are isolated, and you can scale to 50-150 nodes before getting any more complicated.
150 nodes is a lot. I love the beam.
- nivertech 3y agoThat's for the standard full mesh clustering, Erlang distribution can be further tuned with hidden nodes, etc. I think WhatsApp scaled clusters to 10_000 nodes[1]. I personally only run max 10 nodes Erlang cluster (on physical servers) in production, and ~ 20 on AWS for dev/testing workloads. But I think it's better to have a federation of smaller clusters, or separate cluster per datacenter/AZ. Erlang distribution isn't a silver bullet, though. But for 80% of cases it's enough. --- [1] Scaling Erlang cluster to 10,000 nodes https://codesync.global/media/maxim-fedorov-scaling-erlang-cluster-to-10-000-nodes/ https://codesync.global/media/maxim-fedorov-scaling-erlang-c...
- knewter 3y agoYeah then also there's partisan. I didn't figure anyone that needed to go beyond 150 nodes would fail to learn this stuff, but I appreciate you mentioning it so I don't accidentally drive-by convince someone there's an upper limit rather than engineering tradeoffs :)