[erlang-questions] Distibuted-Erlang practical case studies / examples
Attila Rajmund Nohl
Mon May 13 09:59:05 CEST 2019
In the original usecase of Erlang (the AXD) the Erlang nodes were
running on "cards" in different slots in the same chassis. The
distribution was used for example to achieve high availability, so in
the unlikely event that a node went down, the state was duplicated on
the stand-by node. This was implemented probably before HTTP REST was
invented at all. Don't forget, the reason why HTTP REST APIs exists in
the first place is that today's internet is not an "everybody
connected to everybody" network, but a bunch of (fire)walled "gardens"
connected to each other where the firewalls don't let anything pass
through, but HTTP. So if you control the network between your nodes,
you can use Erlang distribution, if you don't, you probably have no
other choice than to implement something over HTTP.
I Gusti Ngurah Oka Prinarjaya <okaprinarjaya@REDACTED> ezt írta
(időpont: 2019. máj. 12., V, 16:45):
> I just learn about how to ping a remote erlang node, call erlang program in a remote erlang node by following this chapter https://learnyousomeerlang.com/distribunomicon .
> But, i can't imagine what kind of simple solution that i can build by utilizing Erlang's distributed behavior / feature / ability.
> Ok, first, i need some simple case studies utilizingg distributed behavior / ability from erlang.
> Second, Why do we utilizing distributed behavior / ability of erlang? Or in other words,
> which is better? utilizing rpc:call() or call other service in other remote node just through HTTP (REST maybe) ?
> Thank you
> erlang-questions mailing list
More information about the erlang-questions