`

TCP Fast Open说明

 
阅读更多
相关介绍
 
 
加速原理
大致意思就是第一次经过三次握手建立TCP连接以后就会获得一个TFO cookie,在TFO cookie超时之前再建立到同一个IP的TCP连接不需要再经过TCP握手过程,可以直接传输数据。不清楚具体超时时间是怎么规定的,反正我重复打开关闭浏览器TFO cookie是一直存在的
 
 
Linux开启TFO选项
vi /etc/sysctl.conf
加入
net.ipv4.tcp_fastopen = 3
 
其中1表示客户端开启,2表示服务端开启,3是1和2的与运算,表示客户端和服务器同时开启
apache尚不支持TFO功能
nginx在listen后加入fastopen开启,数字表示队列长度
listen 80 fastopen=100 default_server;
chrome打开tfo选项可以支持
firefox据说要55版本以后才支持
 
Windows 10开启TFO选项
windows10上IIS默认支持tcp fast open不需要开启
edge浏览器有TCP快速打开选项,但是我用wireshark抓包,实际上并没有真正启用TFO功能,这个原因就不知道了
chrome在windows上尚不支持TFO
firefox55版本以后才支持
IOS开启TFO选项
ios9以后支持,但是限于开发app时可以用,safari到版本11beta仍不支持
android开启TFO选项
手上没有安卓手机,但是安卓上的chrome是支持的,不确定是否默认开启的。
 
 
总结起来就是浏览器只有linux和android上的chrome可以用
服务器只有windows 10上的IIS和linux上的nginx可以用
分享到:
评论

相关推荐

    tcp-fast-open:TCP Fast Open (RFC7413) 的 Golang 示例

    通过检查: /proc/sys/net/ipv4/tcp_fastopen来检查对 TCP Fast Open 的支持,确保客户端和服务器支持的值为 3。 如有必要,将 3 回显到此文件,例如: # echo 0 > /proc/sys/net/ipv4/tcp_fastopen # cat /proc/...

    TCP Fast Open-计算机科学

    TCP Fast OpenSivasankar Radhakrishnan, Yuchung Cheng, Jerry Chu, ... Inthis paper we describe the design, implementation, and de-ployment of the TCP Fast Open protocol, a new mechanismthat enables d

    RFC7413中文.pdf

    Google TCP fast open技术规范 互联网工程任务组(IETF)程勇 ,TCP加速连接建立相关

    net.tune:go 1.3 的可调 TCP 侦听器

    网调 go 1.3+ 的可调 TCP 侦听器。 为 TCP 套接字提供额外的选项。 概述 ... // sets SO_REUSEPORT on the socket listener, err := tune... TCP_FASTOPEN : FastOpen 支持的平台 达尔文 linux 谢谢 基于 steview 的 。

    tcplisten:可自定义的TCP net.Listener for Go

    软件包tcplisten提供了可自定义的TCP net.Listener以及与性能相关的各种选项: SO_REUSEPORT。 此选项允许线性扩展服务器在多CPU服务器上的性能。... TCP_FASTOPEN。 有关详细信息,请参见 。 。 该包是从派生的。

    win 3.11 for workgroup tcpip支持

    RELEASE NOTES FOR MICROSOFT(R) TCP/IP-32 FOR WINDOWS(TM) FOR WORKGROUPS 3.11 PLEASE READ THIS ENTIRE DOCUMENT General ------- This product is compatible with, and supported exclusively on, the ...

    blog:fupengfei058的博客

    目录语言PHP的socket相关函数整理C语言malloc函数原理php中mt_...WAIT状态存在的原因TCP序列号回绕与解决TCP-fastopen(TFO)tcp粘包问题http2.0入门服务器&数据库fastcgi与php-fpm的关系Nginx为什么比Apache Httpd高效

    vie-to-answer:用于小型多人的线下知识竞赛活动的在线抢答器

    云抢答系统用于小型多人的线下知识竞赛活动的在线抢答器,过去...请确保服务器的http keep alive出于开启状态,并开启tcp fast open以防万一。(我当然希望有人使用webrtc的udp功能把这个项目造的更好)用户界面:index.

    Oracle9i的init.ora参数中文说明

    Oracle9i初始化参数中文说明 Blank_trimming: 说明: 如果值为TRUE, 即使源长度比目标长度 (SQL92 兼容) 更长, 也允许分配数据。 值范围: TRUE | FALSE 默认值: FALSE serializable: 说明: 确定查询是否获取表级...

    Android代码-Android同网段设备扫描

    TCP Port Scanner (connect() scan) NIC vendor database Export results to your sdcard in XML Fast access to Wifi Settings Adaptive scanning rate (slow start, then adaptive to network latency) Open ...

    haproxy-1.9-dev2.tar.gz

    very fast and reliable solution offering high availability, load balancing, and proxying for TCP and ... is now shipped with most mainstream Linux distributions, and is often deployed by default in cloud...

    zmq 白皮书

    It gives you sockets that carry atomic messages across various transports like in-process, inter-process, TCP, and multicast. You can connect sockets N-to-N with patterns like fanout, pub-sub, task ...

    IP协议分析工具ipdog开源代码 ,VC++源代码

    " to list <br>第二步:c:\ipdog> ipdog -i\Device\NPF_{D83C1F1A-2F80-4FFDE-9666-3A3262781E6F} 这样就可以做分析TCP/IP协议了,这里-i后跟的是活动网卡 <br>注意: 1:当你要记录分析结果到文件可以...

    ICS delphixe10源码版

    ICS - Internet Component Suite - V8 - Delphi 7 to RAD Studio 10 Seattle ======================================================================= (Aka FPIETTE's Components) Revised: March 3, 2016 ...

    dubbo-go服务框架-其他

    TCP 3、序列化协议 JsonRPC V2 Hessian V2 json for grpc 4、协议 Dubbo Jsonrpc2.0 gRPC RESTful 5、路由器 Condition router Health check router 6、注册中心 ZooKeeper etcd v3 nacos consul k8s 7、动态配置...

    S7A驱动720版本

    - From the S7A power tool it wasn't possible to open the online help file. Now it can be opened and also the context-sensitive help works properly. - When the signal conditioning function "S&M" ...

    DELPHI技巧集(集合各种开发源码)

    11 Change_ip_dns.htm 任何动态改变/添加网络设置中的 TCP/IP 的 DNS 地址 1K 12 Colorcour.htm 让彩色光标出现在Delphi程序中 2K 13 Compon_mk.htm 面向组件的系统开发方法 2K 14 Comtech.htm COM/DCOM如何...

    mini2440 beer(pwm) 驱动

    CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: noinitrd root=/dev/nfs nfsroot=192.168.1.30:/home/...

    Windows MicroXP 0.82[Microsoft Windows XP SP3原版加工成的微型XP系统,=99.9%个完整XP]

    TCP/IP NetBIOS Helper Telephony Windows Audio Windows Installer Wireless Zero Configuration All these services are enabled except "rint Spooler" which you will need to enable in "services.msc". To ...

Global site tag (gtag.js) - Google Analytics