[erlang-questions] About ssl connection speed.

Ali Sabil ali.sabil@REDACTED
Mon Feb 18 13:29:24 CET 2013


Did you check wich ciphers are being used in both scenarios? DHE ciphers
are notably slow.

You might want to pass the {ciphers, Ciphers} to the ssl listener, where
Ciphers is:
Ciphers = lists:filter(fun
  ({dhe_rsa, _, _}) -> false;
  ({dhe_dss, _, _}) -> false;
  (_) -> true
end, ssl:cipher_suites()),

Best,
Ali


On Mon, Feb 18, 2013 at 12:55 PM, Park, Sungjin <jinni.park@REDACTED>wrote:

> I used {backlog, 4096} as one of the options for the listener.
> Did I still miss something?
>
>
> On Fri, Feb 15, 2013 at 12:16 AM, Paul Oliver <puzza007@REDACTED> wrote:
>
>> Hi there,
>>
>> Check this thread
>> http://erlang.org/pipermail/erlang-questions/2012-April/065811.html
>>
>> Cheers,
>> Paul.
>>
>>
>> On Thu, Feb 14, 2013 at 3:10 AM, Park, Sungjin <jinni.park@REDACTED>wrote:
>>
>>> Hello guys,
>>>
>>> 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.
>>>
>>> I want to make sure if this is inevitable as long as I'm using erlang or
>>> not.
>>>
>>>
>>> --
>>> Park, Sungjin
>>>
>>> -------------------------------------------------------------------------------------------------------------------
>>> Peculiar travel suggestions are dancing lessons from god.
>>>   -- The Books of Bokonon
>>>
>>> -------------------------------------------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
>>
>
>
> --
> Park, Sungjin
>
> -------------------------------------------------------------------------------------------------------------------
> Peculiar travel suggestions are dancing lessons from god.
>   -- The Books of Bokonon
>
> -------------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130218/8b7efaed/attachment.htm>


More information about the erlang-questions mailing list