[erlang-questions] IPC bus for Erlang?

Camille Troillard tuscland@REDACTED
Thu Apr 2 12:00:14 CEST 2009


Hello Richard,

On Thu, Apr 2, 2009 at 4:25 AM, Richard Andrews <bbmaj7@REDACTED> wrote:

>
> I have recently been involved in a project where the UI was provided by
> YAWS utilising prototype.js for an Ajax based system. It works well on LAN
> or across slow links but was a lot of work. XmlHttpRequest can greatly
> reduce the amount of data required to dynamically render a page. Browser
> support with javascript becomes an issue. We had to choose to support just
> one browser to make this workable.
>

Alright, I chose WebKit for the same reason.

You probably don't want the UI program to be a port as this implies that the
> erlang node is starting the UI program.
>

Good point.

I was wondering, in the case the server node is registered, isn't the C port
able to send data without being launched from the server? Maybe there's a
security concern.

If you were going to go in this direction then a standard SSL connection
> from UI to server is more appropriate IMO. You can still exchange erlang
> terms (eg. use erl_interface and erlang:term_to_binary) as the messages in
> the TCP stream if that is a good way to move the data.
>

Ah, using the ei interface to encode/decode data without going into writing
a C port, right?

Thanks.


Best,
Cam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090402/f0977ef3/attachment.htm>


More information about the erlang-questions mailing list