Grokking Operating Systems and Networking for Backend Engineers
0% completed
Session Resumption, Mutual TLS and Where TLS Ends
A Python program opened 300 TLS 1.3 connections to a local server, and then 300 more that presented a ticket from an earlier connection. It printed the median time of each kind of handshake:
Output:
full handshake: 1.477 ms resumed handshake: 1.127 ms (session reused on 300 of 300)
Both kinds of connection ran on the same machine, with no network distance. The resumed handshakes took about a quarter less time, and the only reason was that the two sides did less work.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%