The leading knowledge platform for the financial technology industry
The leading knowledge platform for the financial technology industry

A-Team Insight Blogs

Breaking New Ground with Ultra Low Latency Messaging

Inter Thread Communication (ITC) is not a new concept. Developers have been doing it for quite some time. However, doing it fast and well has been tricky. This mimics almost all of the modern day messaging communication primitives, such as IPC and reliable multicast. That is why I believe that ITC is the new ground for ultra low latency messaging.

Pushing the high performance messaging model to its ultimate, present day, conclusion of message passing between threads in a single process is an exciting concept. The same messaging API used as communication between threads within a process, between processes within a box, and between machines separated by an entire planet is a quantum leap in location transparency. The ability that this abstraction allows is quicker time to market for high performance use cases and much more flexibility to messaging users. It simply makes sense for messaging systems to embrace ITC.

ITC is easy to do, but tough to do well. It has its own challenges from an implementation perspective. To do well, it requires intimate knowledge of many low level components, such as CPU caches, cache consistency models, and instruction pipelines. The payoffs are quite impressive.

At Informatica Ultra Messaging, one of our most aggressive customers in the area of high throughput and ultra low latency is LMAX. Martin Thompson, Michael Barker, and others at LMAX have done, what I believe to be, world leading work in pushing the boundaries of how low you can go with latency and how high can you go with throughput in communicating between two threads. In short, 25 million messages/second and 50 nanoseconds latency on modern commodity CPUs.

An even better part is that they and LMAX are extremely open to discussing the approach and the core ideas. The Disruptor code project is more than worth your time.

Ultra Messaging plans to support not only the notion of ITC as a transport, but to adopt the core ideas of the Disruptor pattern in many ways in our products to further provide world class low latency solutions to our customers. Stay tuned for more in this area and more from UM.

See also:

View a replay of a webinar about LMAX.

Martin Fowler has written this great article about LMAX’s architecture.

Here’s a case study on LMAX (PDF).

Related content

WEBINAR

Upcoming Webinar: Integrating Intelligent Machine Readable News

Date: 30 November 2021 Time: 10:00am ET / 3:00pm London / 4:00pm CET Duration: 50 minutes Intelligent machine readable news is a powerful tool in the arsenals of trading and investment firms seeking competitive advantage. It turns unstructured data into actionable insight and can be used, for example, to uncover market trends, identify correlations and...

BLOG

Exegy and Vela Merge to Create Market Data and Execution Technology Powerhouse

Exegy, a provider of hardware accelerated solutions for market data and predictive analytics, and Vela, a market data and execution technology provider, have announced the merger of their business operations in an agreement backed by Marlin Equity Partners, a global investment firm with over $7.5 billion of capital commitments under management. Commercial terms of the...

EVENT

TradingTech Summit Virtual

TradingTech Summit (TTS) Virtual will look at how trading technology operations can capitalise on recent disruption and leverage technology to find efficiencies in the new normal environment. The crisis has highlighted that the future is digital and cloud based, and the ability to innovate faster and at scale has become critical. As we move into recovery and ‘business as usual’, what changes and technology innovations should the industry adopt to simplify operations and to support speed, agility and flexibility in trading operations.

GUIDE

Entity Data Management Handbook – Seventh Edition

Sourcing entity data and ensuring efficient and effective entity data management is a challenge for many financial institutions as volumes of data rise, more regulations require entity data in reporting, and the fight again financial crime is escalated by bad actors using increasingly sophisticated techniques to attack processes and systems. That said, based on best...