▲ | daneel_w 5 days ago | |||||||
>... which leads to huge overheads in network traffic and of course CPU time. This is just the key exchange. You're exchanging keys for the symmetric cipher you'll be using for traffic in the session. There's really no overhead to talk about. | ||||||||
▲ | carlhjerpe 5 days ago | parent | next [-] | |||||||
Indeed, I'll expand a bit: Asymmetrical crypto has always been incredibly slow compared to symmetrical crypto which is either HW accelerated (AES) or fast on the CPU (ChaCha20). But since the symmetrical key is the same for both sides you must either share it ahead of time or use asymmetrical crypto to exchange the symmetrical keys to go brrrrr | ||||||||
▲ | simiones 5 days ago | parent | prev [-] | |||||||
This still greatly affects connections/second, which is an important metric. Especially since servers don't always like very long lived connections, so you may get plenty of connections during an HTTP interaction. | ||||||||
|