[DRIVERS-802] TCP Fast Open Created: 23/Dec/19  Updated: 10/Oct/22  Resolved: 20/Sep/22

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Epic Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-44676 TCP Fast Open Closed
Driver Changes: Not Needed
Server Compat: 4.3
Upstream Changes Summary:

This change enables "TCP Fast Open" (TFO) connections to MongoDB.

  • The operating system of both the client and server must have TFO support
    • Windows: Server only on Windows 10 or later
    • macOS: Server only on 10.11 or later
    • Linux
      • Client: Kernel version >= 4.11, /proc/sys/net/ipv4/tcp_fastopen set to 1 or 3.
      • Server: Kernel version >= 3.7, /proc/sys/net/ipv4/tcp_fastopen set to 2 or 3

setParameters (these are enabled by default):

  • tcpFastOpenClient - Attempt to make outbound TFO connections
  • tcpFastOpenServer - Accept inbound TFO connection attempts

Additionally the following setParameter may be tuned on the server:

  • tcpFastOpenQueueSize (default 1024).
Scope Cost Estimate: 0
Cost to Date: 0
Final Cost Estimate: 0
Cost Threshold %: 100

 Description   
Downstream Change Summary

This change enables "TCP Fast Open" (TFO) connections to MongoDB.

  • The operating system of both the client and server must have TFO support
    • Windows: Server only on Windows 10 or later
    • macOS: Server only on 10.11 or later
    • Linux
      • Client: Kernel version >= 4.11, /proc/sys/net/ipv4/tcp_fastopen set to 1 or 3.
      • Server: Kernel version >= 3.7, /proc/sys/net/ipv4/tcp_fastopen set to 2 or 3

setParameters (these are enabled by default):

  • tcpFastOpenClient - Attempt to make outbound TFO connections
  • tcpFastOpenServer - Accept inbound TFO connection attempts

Additionally the following setParameter may be tuned on the server:

  • tcpFastOpenQueueSize (default 1024)

Description of Linked Ticket

We should investigate what work needs to be done to perform TCP Fast Open when speaking to other hosts.



 Comments   
Comment by Esha Bhargava [ 27/Jan/20 ]

We can investigate this post 4.4

Generated at Thu Feb 08 08:22:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.