[
https://issues.apache.org/jira/browse/MESOS-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165853#comment-14165853
]
Niklas Quarfot Nielsen commented on MESOS-1888:
-----------------------------------------------
Here is an example of TFO with libev:
https://github.com/madeye/shadowsocks-libev/blob/master/src/server.c#L128
> Investigate TCP Fast Open for mesos HTTP requests
> -------------------------------------------------
>
> Key: MESOS-1888
> URL: https://issues.apache.org/jira/browse/MESOS-1888
> Project: Mesos
> Issue Type: Improvement
> Components: libprocess
> Reporter: Cong Wang
> Priority: Minor
>
> TCP Fast Open (TFO) is a new TCP feature on Linux:
> http://en.wikipedia.org/wiki/TCP_Fast_Open
> which could save a round-trip when starting a TCP connection. It seems mesos
> uses HTTP request in many places including some performance critical path. So
> it's worth to investigate it.
> "IPv4 support for TFO was merged into the Linux kernel mainline in versions
> 3.6 (support for clients) and 3.7 (support for servers), and was turned on by
> default in version 3.13. TFO support for IPv6 servers was merged in version
> 3.16."
> It is not transparent to applications, the socket API needs to adjust a
> little bit to use it: http://lwn.net/Articles/508865/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)