<div dir="ltr">Did you check wich ciphers are being used in both scenarios? DHE ciphers are notably slow.<div><br></div><div style>You might want to pass the {ciphers, Ciphers} to the ssl listener, where Ciphers is:</div><div style>

<div>Ciphers = lists:filter(fun</div><div><span style="white-space:pre">    </span>({dhe_rsa, _, _}) -> false;</div><div><span style="white-space:pre">    </span>({dhe_dss, _, _}) -> false;</div><div><span style="white-space:pre">    </span>(_) -> true</div>

<div>end, ssl:cipher_suites()),</div><div><br></div><div style>Best,</div><div style>Ali</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 12:55 PM, Park, Sungjin <span dir="ltr"><<a href="mailto:jinni.park@gmail.com" target="_blank">jinni.park@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I used {backlog, 4096} as one of the options for the listener.<div>Did I still miss something?</div></div>

<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 12:16 AM, Paul Oliver <span dir="ltr"><<a href="mailto:puzza007@gmail.com" target="_blank">puzza007@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi there,<div><br></div><div>Check this thread <a href="http://erlang.org/pipermail/erlang-questions/2012-April/065811.html" target="_blank">http://erlang.org/pipermail/erlang-questions/2012-April/065811.html</a></div>





<div><br></div><div>Cheers,</div><div>Paul.</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Thu, Feb 14, 2013 at 3:10 AM, Park, Sungjin <span dir="ltr"><<a href="mailto:jinni.park@gmail.com" target="_blank">jinni.park@gmail.com</a>></span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello guys,<div><br></div><div>I'm experiencing that erlang server's ssl listener is significantly slower - by a factor of hundreds - than plain tcp listener.  To give you some numbers, my server accepts less than 100 ssl clients per second while it accepts more than 10k tcp clients per second with the same service logic behind save for the transport types.  I tested the same scenario with a server written in c for comparison and got numbers about 1k/s in ssl and 10k in tcp.</div>






<div><br></div><div>I want to make sure if this is inevitable as long as I'm using erlang or not.</div><span><font color="#888888"><div><br></div><div><div><br></div>-- <br>Park, Sungjin<div>-------------------------------------------------------------------------------------------------------------------</div>






<div>Peculiar travel suggestions are dancing lessons from god.</div><div>  -- The Books of Bokonon</div><div>-------------------------------------------------------------------------------------------------------------------</div>







</div></font></span></div>
<br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">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>
<br></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Park, Sungjin<div>-------------------------------------------------------------------------------------------------------------------</div><div>Peculiar travel suggestions are dancing lessons from god.</div>


<div>  -- The Books of Bokonon</div><div>-------------------------------------------------------------------------------------------------------------------</div>
</div>
</div></div><br>_______________________________________________<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>
<br></blockquote></div><br></div>