In Erlang, a cluster of connected machines has some soft limitations on how many machines you can have without suffering from too many messages being sent for the gossip protocol to work properly.
This question has similar statements. I have also seen some benchmarks of Riak running ok with 200 nodes (can't find the link but I think it was a Basho test).
I understand that a 200 Erlang node cluster is capable of REALLY heavy loads. I am just wondering on alternatives if that limit becomes a bottleneck.
It seems the answer to a bigger scale than that (which would be huge) is to isolate your system in smaller isolated clusters, much like a micro services approach.
My question is: which is the recommended way of making this communication?
I don't want to come up with a REST service because of the unnecessary weight of marshling/unmarshiling JSON, HTTPS handshakes and other protocol bound operations (load balancers and etc).
BERT-RPC seemed like the best fit but its development seems stale. NkCluster seems to have implemented something similar but is there an Erlang/Elixir/Joxa/LFE way of doing this?