sozu-proxy / sozu

Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!
https://www.sozu.io/
GNU Affero General Public License v3.0
3.12k stars 193 forks source link

update rustls to 0.22.1 #1056

Closed Keksoj closed 11 months ago

Keksoj commented 11 months ago

no regression in performance:

rustls 0.21

tls-perf -l 200 -n 10000 --sni localhost --tls 1.3 127.0.0.1 8443

 TOTAL:           SECONDS 21; HANDSHAKES 10000
 HANDSHAKES/sec:  MAX 537; AVG 472; 95P 449; MIN 39
 LATENCY (ms):    MIN 30.6086; AVG 381.154; 95P 694.265; MAX 756.129

rustls 0.22.1 :

ls-perf -l 200 -n 10000 --sni localhost --tls 1.3 127.0.0.1 8443

 TOTAL:           SECONDS 19; HANDSHAKES 10000
 HANDSHAKES/sec:  MAX 554; AVG 521; 95P 482; MIN 482
 LATENCY (ms):    MIN 34.738; AVG 370.147; 95P 673.783; MAX 756.83

This update could not be done in the e2e tests because hyper-rustls has not updated its dependency to rustls 0.22. We have to monitor this PR on hyper-rustls