[erlang-questions] TCP Fast Open for gen_tcp

Karim Gemayel <>
Fri Jan 15 22:16:03 CET 2016


I'm wondering if there's any plan to implement the TCP Fast Open 
extension [1] in gen_tcp.

TFO seems to substantially reduce the latency of mobile device initial 
TCP connection and quite useful for queries to webservices.

TFO is not yet widely implemented, apparently mainly available on Linux 
3.7+, Chrome/Chromium (via chrome://flags/#enable-tcp-fast-open ) [2], 
Nginx [3] and in Wireshark with the 'tcp.options.tfo*' filters [4].

After experimenting, so far got only one full TFO connection.

[1] https://tools.ietf.org/html/rfc7413
[2] https://bradleyf.id.au/nix/shaving-your-rtt-wth-tfo/
[3] http://www.supertcp.com/enabling-tcp-fast-open-nginx-centos-7/
[4] https://www.wireshark.org/lists/wireshark-bugs/201212/msg00683.html


Karim Gemayel

More information about the erlang-questions mailing list