If you’ve been following the news lately, algorithmic trading, also known as high frequency trading (HFT), has been getting a lot of attention. In a nutshell, high frequency trading uses supercomputing technology to make money from short-term fluctuations in market demand. This is accomplished by aggregating tiny profits over large numbers of transactions. The key to the application model is to find small discrepancies in the buy-sell spread and execute the trade before slower computers can do so.
Not all of the attention has been flattering. By outmaneuvering long-term investors that trade via desktop computers, it is claimed that HFT’ers, unfairly squeeze profits from them. Along the same lines, high frequency trading is thought to overload the market with speculation, and in doing so, increase its volatility.
But whatever the objections, algorithmic trading is big business. No one really knows exactly how much money is being generated, but Larry Tabb of the Tabb Group estimates the take at $8 billion per year. That kind of money is bound to attract a lot of innovation. Investment banks such as Goldman Sachs and hedge fund firms like Citadel Investment Group and Renaissance Technologies generate large chunks of their revenue from this form of electronic trading and are presumed to have invested heavily in HFT infrastructure.
The network vendors are certainly benefitting from this bonanza, including newcomer Arista Networks. As an Ethernet switch vendor Arista has positioned itself as a provider of cloud computing network gear. The company is looking to ride the 10 GigE deployment wave, as the technology becomes mainstream over the next few years. But today, fully 30 percent of Arista’s revenue is being generated in the financial services space, with hedge funds the largest segment. Almost all of this is focused on HFT-type deployments.
As it turns out, Arista Ethernet switches are a good fit for this application segment for a number of reasons, the primary one being the low latency nature of the company’s hardware. High frequency trading needs to react as quickly as possible to market data, so minimizing latency has become an obsession. For the entire trading pipeline, best-case latencies (which encompass the market data feed, the ticker plant, the messaging platform, and the server that executes the trade) are in the 25 to 50 microsecond range. As processors become faster and the application software becomes more refined, end-to-end latency is expected to drop below 25 microseconds over the next year.
But those numbers don’t include the network switch in the middle. A typical high-end Ethernet switch adds another 5 to 10 microseconds, which significantly bumps up total latency.
On Monday, at the High Performance Computing on Wall Street conference in New York, Arista Founder and Chief Development Officer Andy Bechtolsheim is scheduled to talk about some of the trends in networking that are shaping how the financial crowd is attacking the latency issue. No doubt, he will highlight his company’s own 10 GbE cut-through switches, which are specifically designed to minimize latency.
In a recent conversation with HPCwire, Bechtolsheim said Arista’s 7100 series switches can deliver a packet with a port-to-port latency of less than a microsecond. Compared to the aggregate latency in the rest of the data pipeline, this is almost negligible. Even the latest Nexus 5000, Cisco’s unified fabric switches, deliver latencies in the range of 3 to 5 microseconds, while the Nexus 7000 and massive installed base of Catalyst products typically add over 20 microseconds to each network hop.
Bechtolsheim thinks the need for fast execution in these trading applications is making adoption of ultra low latency Ethernet switches a “no-brainer.” The overarching goal is to essentially remove the switch from the equation so that HFT system architects can concentrate on decreasing latency on the application side (ticker plant, messaging platform, and trading server) by optimizing the software and upgrading the hardware with the latest CPUs, FPGAs, or whatever.
With all this talk of low latency, you would think InfiniBand would be getting a lot more attention in HFT. Mellanox, after all, advertises 200 nanosecond latencies in its current generation QDR technology. And just recently Voltaire, which employs Mellanox silicon in its InfiniBand switches, announced it had teamed with NYSE Technologies to offer an InfiniBand-based market data system that promises 10 microsecond latency, with a throughput of more than a million messages per second.
But according to Bechtolsheim, for these data feed applications, InfiniBand is not really a good fit. In general, Bechtolsheim has been a proponent of InfiniBand switching in HPC, especially in his role at Sun Microsystems. But in this area, he says, the problem is that market data feeds are arriving in GigE or 10 GigE pipes. So not only is QDR (40 Gbps, 32 Gbps net) InfiniBand throughput overkill, but the non-native protocol is problematic. “By the time you convert from InfiniBand to Ethernet, ” said Bechtolsheim, “you’re already 10 microseconds behind.”
For this class of applications, the InfiniBand effort has focused on tuning the device drivers to increase performance, and in Voltaire’s case, adding proprietary messaging software to accelerate application performance. Bechtolsheim contends the InfiniBand contingent hasn’t been able to get much of an edge compared to 10 GigE switching. To date there are no field deployments of InfiniBand-based HFT — at least none that have been publicly announced.
Besides latency and Ethernet compatibility, the other big requirement for these financial apps is reliability. “Robustness is paramount, since if the network goes down, things can get very expensive very fast,” observed Bechtolsheim. Here Arista points to its EOS (Extensible Operating System) software, which contains self-healing functionality in order to keep the switch running. Bechtolsheim said it has performed essentially flawlessly and is one of the reasons they’ve been able to get traction in these kinds of accounts.
Arista is partnering with many of the vendors selling servers, host adapters, and message platforms appliances, into the HFT market. Message platform partners include Solace Systems, Tervela, TIBCO Software and Exegy, among others, while NIC partners include Broadcom, Chelsio, Intel, Neterion, Mellanox, and QLogic.