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
3.we can improve some performance ? Or let Nginx turn HTTP/S to HTTP, and
asio just handle HTTP ?
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]>
> > 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.