[erlang-questions] Erlang accepting SSL connection is really slow (comparing to C++)

Winston Smith smith.winston.101@REDACTED
Tue Apr 10 19:32:44 CEST 2012


On Tue, Apr 10, 2012 at 12:19 PM, Morgan Segalis <msegalis@REDACTED> wrote:
> Then what would be the best workaround in order to outcome this slowness of Erlang's SSL ?
> Using a C++ Driver ? would that be even possible to pass a Socket to the driver for it to upgrade it into a SSL one ?

You might want to take a look at Richard Jones' excellent articles
about scaling Erlang up to 1 million [comet] users with mochiweb -- in
the 3rd part he develops a C-node using libevent:

http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-3#an_erlang_cnode_using_libevent

Although you'd need to use libevent2 to get the https support.

Hope this helps,


W.



More information about the erlang-questions mailing list