Overview
Automatically integrate TLS session cache (ClientSessionCache) with retryablehttp for improved performance.
Details
- Add shared LRU session cache to HTTP client TLS configurations when creating or wrapping HTTP clients
- Should work transparently with new HTTP clients or any provided ones if absent
- Reduces TLS handshake overhead and CPU usage for repeated connections to the same host
- Improves overall throughput and efficiency
- Should be a clean, transparent optimization that doesn't change behavior
Benefits
- Lower CPU usage from reduced TLS handshakes
- Better performance for scenarios with repeated connections to the same hosts
- No breaking changes or compatibility issues
References
Overview
Automatically integrate TLS session cache (ClientSessionCache) with retryablehttp for improved performance.
Details
Benefits
References