|
Boost : |
Subject: Re: [boost] [asio]https significantly reduce performance
From: lx (lxlenovostar_at_[hidden])
Date: 2019-01-31 01:01:57
1.The client don't keep alive, and start a new connection each time.
2.I get openssl-1.1.0j from
https://www.openssl.org/source/openssl-1.1.0j.tar.gz
3.we can improve some performance ? Or let Nginx turn HTTP/S to HTTP, and
asio just handle HTTP ?
Thank you.
Vinnie Falco <vinnie.falco_at_[hidden]> äº2019å¹´1æ31æ¥å¨å ä¸å12:58åéï¼
> On Tue, Jan 29, 2019 at 7:27 PM lx via Boost <boost_at_[hidden]>
> wrote:
> > https significantly reduce performance.
>
> Well, yes, the connection is encrypted by a block cipher - what did
> you expect? Are you disconnecting and reconnecting for every request
> or are you keeping the connection alive? The SSL opening handshake is
> very expensive. Are you using a debug or optimized OpenSSL library?
>
> It is normal that SSL connections are going to be significantly slower
> than plain connections. On a related note, Google wants the world to
> switch to HTTP/S and disallow HTTP.
>
> Regards
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk