This section was written a long time ago. Most of it is still valid, but some things have changed since th
6. How to Implement an Alternative Carrier for the Erlang Distribution
6 How to Implement an Alternative Carrier for the Erlang Distribution
This section describes how to implement an alternative carrier protocol for the Erlang distribution. The distribution is normally carried by TCP/IP. Here is explained a method for replacing TCP/IP with another protocol.
The section is a step-by-step explanation of the uds_dist
example application (in the Kernel application examples
directory). The uds_dist
application implements distribution over Unix domain sockets and is written for the Sun Solaris 2 operating environment. The mechanisms are however general and apply to any operating system Erlang runs on. The reason the C code is not made portable, is simply readability.
Note