Distribution by another means

Martin Bjorklund mbj@REDACTED
Tue Jun 13 18:03:45 CEST 2000


Sean Hinde <Sean.Hinde@REDACTED> wrote:

> Out of all the mechanisms available in OTP what are peoples views on which
> would be the quickest and easiest mechanism requiring least overhead and
> minimum complexity.

Set up a socket, possibly perform a handshake alg, maybe md5 digest
based, and send erlang binaries:

  gen_tcp:send(Sock, term_to_binary({apply, M, F, A}))

[You might have to take care of which node is responsible for
connecting (simple alg: smallest node name), or handle simultanoeus
connects.]

If each system consists of more than one node, you might run this
server in a distributed application, to make it fault tolerant.

> Full on CORBA would work but is probably overkill??

I would definitely think so ;-)


/martin





More information about the erlang-questions mailing list