Manual Chapter :
Implementing FIX Low Latency Mode
Applies To:
Show Versions
BIG-IP LTM
- 21.0.0, 17.5.1, 17.5.0, 17.1.3, 17.1.2, 17.1.1, 17.1.0, 17.0.0, 16.1.6, 16.1.5, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.10, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0, 14.0.1, 14.0.0
Implementing FIX Low Latency Mode
Configuring hardware
Selecting a firmware to use for hardware-optimized FIX Low Latency for iSeries
You can use the TMOS Shell (tmsh) to choose whether to use the FIX low latency firmware. To use a BIG-IP system to manage low latency electronic trading functionality, you must first obtain a specific license. The license must enable the FIX Low Latency feature.
- Connect to the system using the serial console.
- Log in to the command-line interface of the system using the root account.
- Open the TMOS Shell (tmsh).tmsh
- Enable the FIX LL firmware.modify sys db pva.fix.lowlatency value enable
- Reboot the system to update the FPGA.rebootIf you are switching to the FIX Low Latency firmware for the first time, the system performs an HSB update to load the new firmware. Do not interrupt the progress of the firmware update. When the firmware update completes, the system reboots, and then you will be able to use the FIX Low Latency firmware.
- To switch back to the default firmware:
- Disable the FIX Low Latency firmware.modify sys db pva.fix.lowlatency value disable
- Reboot the system to update the FPGA.reboot
Enabling FIX Low Latency using CLI for rSeries
F5 r5000, r10000, and r12000 systems provide support for Financial Information eXchange (FIX) protocol connections for electronic trading between financial institutions. This enables tenants running on the system to manage electronic trading traffic for both low latency and intelligent load balancing.
To use a BIG-IP system to manage low latency electronic trading functionality, you must first obtain a specific license. The license must enable the FIX Low Latency feature.
rSeries does not support v16.x as per F5OS hardware/software support matrix.
If your software license includes the FIX Low Latency add-on keys, they are activated for tenants on your F5 r5000, r10000, and r12000 Series systems automatically, when you initially register the license. If you purchase these add-on keys later, you can install the keys from the CLI or via API or via webUI. An example of installation using CLI,
- Connect using SSH to the management IP address.
- Log in to the command line interface (CLI) of the F5 rSeries system using an account with admin access. When you log in to the system, you are in user (operational) mode.
- Change to config mode.configThe CLI prompt changes to include (config).
- Install the add-on keys.appliance-1(config)# system licensing install add-on-keys [ C123456-7890123 ]Proceed? [yes/no]: yesThis license installation triggers a system reboot; data-plane and management connectivity will be disrupted.Result: License installed successfully.The system shows a message confirming that the installed license enables the add-on keys, and the system reboots automatically.
Creating a custom Fast L4 profile for hardware-optimized FIX Low Latency
You can create a custom Fast L4 profile to manage Layer 4 traffic for FIX Low Latency.
- On the Main tab, clickLocal Traffic>Profiles>Protocol>Fast L4. The Fast L4 screen opens.
- ClickCreate. The New Fast L4 profile screen opens.
- In theNamefield, type a unique name for the profile.
- Select theCustomcheck box.
- From thePVA Accelerationlist, selectDedicated.
- Clear thePVA Flow AgingandPVA Flow Evictcheck boxes.
- For thePVA Offload DynamicPVA Offload Dynamicsetting, retain the default valueEnabled.
- For thePVA Dynamic Client PacketsPVA Dynamic Client Packetssetting, retain the default value1.
- For thePVA Dynamic Server Packetssetting, retain the default value0.
- Select theLoose Closecheck box only for a one-arm virtual server configuration.
- Set theTCP Close Timeoutsetting, according to the type of traffic that the virtual server will process.
- ClickFinished.
The custom Fast L4 profile appears in the list of Fast L4 profiles.
Creating a FIX profile for low latency electronic trading
You can create the FIX profile for low latency electronic trading with FIX load balancing.
- On the Main tab, clickLocal Traffic>Profiles>Services>FIX.The FIX profile list screen opens.
- ClickCreate. The new FIX Profile screen opens.
- In theNamefield, type a unique name for the profile.
- From theParent Profilelist, select a parent profile.
- Select theCustomcheck box.
- From theReport Log Publisherlist, select the publisher for error messages and status reports.
- ClickFinished.
The FIX profile is configured for low latency electronic trading with FIX load balancing.
However, when this profile is created for Late Binding, a virtual server can choose a server pool based on the contents of the FIX connection’s initial packet. The Late Binding feature allows combining load balancing with low latency.
This is a simplified FIX profile. The low latency path goes through ePVA hardware, which does not examine the contents of each FIX packet. The only packet the BIG-IP software examines is the logon packet, which the BIG-IP system uses to choose a server pool. Therefore, most of the features in the FIX-profile screen (such as tag substitution) are ignored for low latency trading.
Creating a sever pool
Use this task to create a pool of servers with pool members. The pool identifies the servers to which the virtual server must send client requests. As an option, you can identify the servers by their FQDNs instead of their IP addresses. In this way, the system automatically updates pool members whenever you make changes to their corresponding server IP addresses on your network.
- On the Main tab, clickLocal Traffic>Pools. The Pool List screen opens.
- ClickCreate. The New Pool screen opens.
- In theNamefield, type a unique name for the pool.
- For theHealth Monitorssetting, from the Available list, select a monitor and move the monitor to the Active list.A pool containing nodes represented by FQDNs cannot be monitored byinbandorsaspmonitors.
- From theLoad Balancing Methodlist, select how the system can distribute traffic to members of this pool. The default isRound Robin.
- For theNew Memberssetting, add each server that you want to include in the pool:
- SelectNew NodeorNew FQDN Node.
- (Optional) In theNode Namefield, type a name for the node.
- If you choseNew Node, then in theAddressfield, type the IP address of the server. If you choseNew FQDN Node, then in theFQDNfield, type the FQDN of the server.If you want to use FQDNs instead of IP addresses, you should still type at least one IP address. Typing one IP address ensures that the system can find a pool member if a DNS server is not available.
- For theService Portoption, pick a service from the list.
- If you are using FQDNs for the server names, then forAuto Populate, keep the default value of Enabled. When you leaveAuto Populateturned on, the system creates an ephemeral node for each IP address returned as an answer to a DNS query. Also, when a DNS answer shows that the IP address of an ephemeral node no longer exists, the system deletes the ephemeral node.
- ClickAdd.
- Do this step again for each node.
- ClickFinished.
Creating a virtual server for low latency electronic trading
After you create a server pool, profile(s), and (optionally) iRule, you need to create a virtual server that references those components.
- On the Main tab, clickLocal Traffic>Virtual Servers. The Virtual Server List screen opens.
- ClickCreate. The New Virtual Server screen opens.
- In theNamefield, type a unique name for the virtual server.
- From theTypelist, selectPerformance (Layer 4).
- In theDestination Addressfield, type the IP address in CIDR format. This is the address to which the FIX clients send their FIX transmissions. The supported format is address/prefix, where the prefix length is in bits.For example, an IPv4 address/prefix is 10.0.0.1 or 10.0.0.0/24, and an IPv6 address/prefix is ffe1::0020/64 or 2001:ed8:77b5:2:10:10:100:42/64. When you use an IPv4 address without specifying a prefix, the BIG-IP system automatically uses a /32 prefix.TheIP address you type must be available and not in the loopback network.
- In theService Portfield, specify a port number or select a type from the port list to listen to a virtual server.
- You can select ‘*’ to listen to all the ports.
- You can direct traffic to different pools using iRule based on the port number to listen to multiple ports.
- From theConfigurationlist, selectAdvanced.
- From theProtocollist, selectTCP.
- From theProtocol Profile (Client)list, select the custom Fast L4 profile you defined for low latency FIX trading.
- Go to theFIX Profilelist and select the custom FIX profile you defined for low latency trading.
- For thePort Translationsetting, clear theEnabledcheck box.Clearing theEnabledcheck box disables network address translation (NAT) functionality. If you require NAT, you must select theEnabledcheck box.
- In the Resources area of the screen, from theDefault Poollist, select the pool name for FIX streams. This pool is for streams that do not match your iRule(s).
- ClickFinished.
The virtual server is configured to use the specified Fast L4 profile and pool. If a client initiates a FIX connection with this virtual server, the connection uses the Fast L4 (ePVA) hardware.
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.