4 ms·
That can be done with HTTP. But right now it's all HTTPS specially when you are serving APIs over the Internet. And once I switch to HTTPS I see a dramatic dro
by habibur 5y ago
That can be done with HTTP. But right now it's all HTTPS specially when you are serving APIs over the Internet.
And once I switch to HTTPS I see a dramatic drop in throughput like x10.
A http 15k req/sec drops down to 400 req/sec once I start serving it over HTTPS.
I see no solution to it as everything has to https now.
- astrange 5y agoHTTPS especially TLS1.3 is not slow. x86 has had AES acceleration since 2010. It might need different tuning or you might be negotiating a slow cipher.
- ComputerGuru 5y agoThe SSL handshake (which affects TTFB) isn’t AES.
- astrange 5y agoRight, but TLS1.3 improves that especially with 0RTT. Before that you had things like session resumption for repeat clients, or if your server was overloaded you could use an external HTTPS proxy.
- jcelerier 5y ago> HTTPS especially TLS1.3 is not slow. are you saying that the parent poster is dreaming when he sees his performance divided by 37 when turning on https ?