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

Winston Smith <>
Tue Apr 10 19:32:44 CEST 2012

On Tue, Apr 10, 2012 at 12:19 PM, Morgan Segalis <> 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:


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

Hope this helps,


More information about the erlang-questions mailing list