High-frequency trading, or HFT, refers to a type of algorithmic trading that uses systems to execute trades in financial markets at extremely high frequency. In high-frequency trading, milliseconds can make a big difference in the outcome of a trade. Optimising the latency performance of a high-frequency trading application can help gain a significant edge over the competition, and therefore help maximise potential trading profits.