Welcome! Log In Create A New Profile

Advanced

Optimizing TLS Record Size & Buffering Latency

Rob Stradling
October 29, 2013 05:46PM
http://www.igvita.com/2013/10/24/optimizing-tls-record-size-and-buffering-latency/

"The larger the TLS record size, the higher the likelihood that we may
incur an additional roundtrip due to a TCP retransmission or "overflow"
of the congestion window. That said, the fix is also relatively simple:
send smaller records. In fact, to eliminate this problem entirely,
configure your TLS record size to fit into a single TCP segment.
....
The bad news is that many TLS servers do not provide an easy way to
configure TLS record size and instead use the default maximum of 16 KB.
....
Nginx hardcodes 16KB size in ngx_event_openssl, which you can change and
recompile from source."

Would it be worth lowering this default value?
and/or
How about adding a config directive that allows users to change it
without having to edit the source code?

--
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Optimizing TLS Record Size & Buffering Latency

Rob Stradling 1635 October 29, 2013 05:46PM

Re: Optimizing TLS Record Size & Buffering Latency

Piotr Sikora 535 October 29, 2013 05:50PM

Re: Optimizing TLS Record Size & Buffering Latency

Alex 547 October 29, 2013 07:34PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready