I have stumbled accidentally in this repo:
So, this left me wondering if the approach taken by @ityonemo to securely extend a Phoenix PuBSub over SSL with websockets couldn’t be used for the Erlang distribution mechanism itself?
For what I understand the current Erlang distribution has a bottleneck in the number of nodes that can be connected together due to the accumulation of all the requests for the gossip protocol and application data through the network, and this without using TLS.
When using TLS it becomes even slower due to the additional back and forth needed for the handshakes.
So, once websockets only need to do the handshake when establishing the connection I was wondering if using them would not increase throughput and the number of nodes that could be connected together?
Note: I know that is possible to overcome current limitations with specialized approaches, like for example the one described in this talk by a network engineer at Whats App.