Rainbow Service Gateway (rsg)
The service gateway makes use of Erlang's powerful interface for writing correct concurrent code. The main purpose of this service is for job dispatch to backend workers (controller nodes). It is responsible for keeping track of available nodes until hand-off to the cluster controllers. The node and rsg should communicate using Erlang's interface for message passing.
- Clone source code
- cd into source code directory
- make && make install
- make clean (optional, removes binaries)
Test by going into the erl shell and issuing:
1> rsg:start(). 2> i().
Go on a host which has connection to the rsg host. Make sure that port 7000 is available:
$ telnet $rsg_host 7000 $ ping
You should receive a ping back.