Applies To:
Show VersionsBIG-IP LTM
- 12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0
Implementing Low-Latency Electronic Trading with FIX load balancing
Overview: Configuring low-latency electronic trading with FIX load balancing
You can configure the BIG-IP® system to manage electronic trading traffic for both low-latency and intelligent load balancing. The BIG-IP system supports Financial Information eXchange (FIX) protocol connections for electronic trading between financial institutions. When you acquire a special license, you can use the FastL4 profile to optimize the FIX connections, and use the embedded Packet Velocity® ASIC (ePVA) to minimize the latency. You can then use an iRule to implement intelligent load balancing: you do this by enabling the Late Binding feature in the FastL4 profile, then creating an iRule that parses each FIX header to choose a back-end server pool.
About Late Binding
With the Late Binding feature enabled, an iRule can examine the FIX logon packet, the one that establishes the connection, and choose a server pool based on the packet's contents. The iRule finishes by sending the connection down to the ePVA hardware, which processes the stream at high speed.
The only TCP options available to the client and server are MSS, accept Selective ACK, and Time Stamp. The BIG-IP system ignores all other options because it must enable SYN cookies on the client-side interface, and because the ePVA hardware does not slow down for any of those options. For example, the BIG-IP system ignores the Window Scaling option as soon as the flow has been released to the ePVA hardware.
About FIX features with low latency
After the iRule selects a server, the ePVA hardware manages the FIX stream for the rest of its existence. The ePVA does not examine the individual FIX packets that pass through it, so FIX-profile features such as tag substitution are not supported.
About induced latency for FIX connections
Induced latency, which is the latency realized after a FIX connection is established, typically has a duration of approximately 10 µsecs or less.
About using TCP protocol for FIX clients and servers
The ePVA only supports the TCP protocol, which requires FIX clients and servers to establish TCP connections. When creating a virtual server to manage the traffic for low-latency electronic trading, you must specify the TCP protocol setting.
Task summary
There are several tasks you perform to implement low-latency electronic trading.
Task list
Licensing low-latency electronic trading functionality
- Advanced LTM® protocols
- FIX low latency (FIX LL)
Please contact your F5® Networks support representative to acquire the necessary license.
Creating a custom Fast L4 profile for FIX
Creating a FIX profile for low-latency electronic trading
Creating a pool
Creating an iRule for load-balancing Layer-7 (FIX) traffic
Creating a virtual server for low-latency electronic trading
Implementation result
This implementation configures a BIG-IP® system to manage low-latency electronic trading functionality, optimizing the system for predictable latency and jitter. Clients who send FIX streams to the virtual server's Destination address all receive this low-latency service. The virtual server intelligently distributes the streams to different server pools based on information in each stream's FIX logon packet.