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

Morgan Segalis <>
Tue Apr 10 19:38:25 CEST 2012


Actually I have read a while back this excellent article (I still have it in my favorite bookmark)…
The thing is I wasn't coding in Erlang when I first read it. I'll take a second round, now that I do.

Thanks.

Le 10 avr. 2012 à 19:32, Winston Smith a écrit :

> 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:
> 
> 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