<div dir="ltr">I came to the same conclusions. HAProxy is my friend.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 12:11 PM, Garrett Smith <span dir="ltr"><<a href="mailto:g@rre.tt" target="_blank">g@rre.tt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Feb 20, 2015 at 8:11 AM, Roberto Ostinelli <<a href="mailto:roberto@widetag.com">roberto@widetag.com</a>> wrote:<br>
> Dear List,<br>
> Given the amount of answers I got in this post, I want to follow up and give<br>
> some additional information.<br>
><br>
> After struggling for quite a while, I just did a comparison between using<br>
> SSL connections vs standard TCP connections.<br>
> The results are quite impressive.<br>
><br>
> This is the diagram of memory evolution for a system under load, with SSL:<br>
> <a href="https://cldup.com/cNOc8hS004-2000x2000.png" target="_blank">https://cldup.com/cNOc8hS004-2000x2000.png</a><br>
><br>
> This is the same system, but without SSL:<br>
> <a href="https://cldup.com/sx3RrdMR8o-3000x3000.png" target="_blank">https://cldup.com/sx3RrdMR8o-3000x3000.png</a><br>
><br>
> You can clearly see that using standard TCP connections the system is<br>
> extremely stable.<br>
> Using SSL connections, on the other hand, results in RAM memory having very<br>
> erratic behavior that ends up blowing up the node.<br>
><br>
> Not sure what to do with this information, except that I'm going to use a<br>
> SSL termination (HAProxy or ELB) and have my Erlang node run without SSL.<br>
<br>
</span>This is my standard practice now - motivated by a number of production<br>
issues. Fronting Erlang with an SSL proxy is completely trivial and<br>
makes the pain go away. I guess it'd be nice if Erlang kept up with<br>
the Nginxes and HAProxies, but not a must have.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>