[erlang-questions] Message Passing over the 'Net

Kevin A. Smith kevin@REDACTED
Thu Aug 14 14:59:23 CEST 2008

If you're willing to patch your Erlang installation, there's this  
recipe on trapexit.org which illustrates how to make distributed  
Erlang work over SSL in a firewall-friendly fashion:


I've used it in some prototyping code and it seems to work fine.

On Aug 13, 2008, at 9:02 AM, Timothy Baldridge wrote:

> Greetings,
> I'm a recent convert to Erlang. I'm still reading up a bit on the
> language, then I plan on trying out some basic "Hello World" apps
> before diving into a more complex program.
> I have a few questions about Erlang's message passing. I understand
> the basic idea behind message passing in Erlang, and how processes can
> be distributed to other physical machines. Is there a way to pass
> messages like this across a rather unsafe medium like the Internet?
> For instance, I'd like to write a client/server app where users can
> login to the main server over the Internet. Both ends of the program
> will be in Erlang. Now I know I could write marshaling routines to
> pack and unpack the data on either end, and shove the packaged data
> over TCP/IP, but it would be much nicer if Erlang had a way that was
> as simple as PID ! message.
> And secondly, if the above is possible, is it possible to encrypt the
> communication by piping it through a SSL connection? I'm sure there
> has to be something like this.
> Thanks for the help, as a big fan of the Python language, let me say
> that Erlang's feature set was what made me decide to switch. Python
> has many bottlenecks, and Erlang, while different, takes care of most
> of these issues.
> Thanks,
> Timothy
> -- 
> Two wrights don't make a rong, they make an airplane. Or bicycles.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list