Sample data flow for TCP

Summary

This example shows the establishment of a new connection.

Workflow

Sample data flow for TCP
  1. The SYN packet originates from the client and is delivered to one device (based on the load balancing method), which becomes the owner. The owner creates a flow, encodes owner information into a SYN cookie, and forwards the packet to the server.
  2. The SYN-ACK packet originates from the server and is delivered to a different device (based on the load balancing method). This device is the forwarder.
  3. Because the forwarder does not own the connection, it decodes owner information from the SYN cookie, creates a forwarding flow to the owner, and forwards the SYN-ACK to the owner.
  4. The owner sends a state update to the director, and forwards the SYN-ACK to the client.
  5. The director receives the state update from the owner, creates a flow to the owner, and records the TCP state information as well as the owner. The director acts as the backup owner for the connection.
  6. Any subsequent packets delivered to the forwarder will be forwarded to the owner.
  7. If packets are delivered to any additional nodes, it will query the director for the owner and establish a flow.
  8. Any state change for the flow results in a state update from the owner to the director.