Welcome! Log In Create A New Profile

Advanced

Re: nginx ssl handshake vs apache

April 21, 2014 06:04AM
On Apr 21, 2014, at 12:46 , Igor Sysoev wrote:

> On Apr 20, 2014, at 21:17 , Lukas Tribus wrote:
>
>>> Hi
>>>
>>> I was watching this video by fastly ceo http://youtu.be/zrSvoQz1GOs?t=24m44s
>>> he talks about the nginx ssl handshake versus apache and comes to the
>>> conclusion that apache was more efficient at mass handshakes due to
>>> nginx blocking while it calls back to openssl
>>>
>>> I was hoping to get other people's opinion on this and find out if what
>>> he says is accurate or not
>>
>> I would be interested in opinions/statements about this as well.
>
> nginx worker blocks on SSL handshake as well as on disk I/O. But in contrast
> to the disk I/O during the handshake you can not do anything else on this CPU
> at this time until CPU time share slice will end for the current process/thread.
> If a typical time share slice is 1ms and the 1024-bit key handshake time is 0.5ms
> then the chances that another process/thread is able to run on the same CPU are 25%.

Sorry, 50%.

> The lesser handshake time the lesser chances.


--
Igor Sysoev
http://nginx.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx ssl handshake vs apache

Richard Kearsley January 03, 2014 09:48AM

RE: nginx ssl handshake vs apache

Lukas Tribus April 20, 2014 01:18PM

Re: nginx ssl handshake vs apache

Igor Sysoev April 21, 2014 04:48AM

Re: nginx ssl handshake vs apache

Igor Sysoev April 21, 2014 06:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready