Azul Takes Aim at Java Warm-Up Issues with ReadyNow!
The performance issue occurs when JVMs compile Java applications into forms that can be run on servers, in that part-compilation will occur throughout the application's run cycle in order to perform at optimal levels. In financial services, this can become problematic during peak periods, such as unforseen market events, or market opens and closes.
Typically, traders and system operators have overcome this through simulating events ahead of predicted increased loads, or by coaxing the JVM into optimizing the applications early through the use of historical data and test trades. This allows applications to be cycled up in order to perform during high-stress periods, although they may not reach optimal efficiency at key moments, particularly if those are unexpected.
Further complications with de-optimization occur when the systems are shut down at night and then restarted the following morning. This is primarily to deal with "garbage collection" (GC), essentially a process by which unused memory is reclaimed by the system in order to be recycled for use, but one that often introduces pauses or lag into Java-based applications. With low-latency systems such as execution engines, there is a tendency to build in processes to delay GC and the accompanying pauses. This means, however, that nightly system restarts are essential to prevent the build-up of GC reaching critical mass and introducing millisecond-to-second pauses during the trading day, which, in high-speed environments, could prove costly. As a natural consequence of these restarts, however, systems then have to be cycled up again the next day in order to be optimized once more.
Aggressive Initialization
Azul's Zing JVM addresses a number of GC-related challenges already, but with ReadyNow!, the vendor has taken this process a step further by introducing specific behaviors in the compiler as well as more granular levels of control in order to combat de-optimization at crucial periods.
"Over the past year, we've identified multiple real-world causes for actual de-optimizations that occur during phase shifts and market open, or similar execution stages of applications," says Gil Tene, CTO at Azul. "The ReadyNow! feature set encompasses multiple features and capabilities that are all focused on addressing this problem, starting with specific runtime and just-in-time (JIT) compiler behaviors aimed at reducing or eliminating the need to de-optimize. These include aggressive class loading and resolution, and aggressive initialization during warm-up to help prevent late resolution and late initialization from causing an entire series of de-optimizations later on. JIT optimization choices that pre-optimize or generate code, even for rare or never-taken paths, help avoid another class of de-optimization.
Over the past year, we've identified multiple real-world causes for actual de-optimizations that occur during phase shifts and market open, or similar execution stages of application. - Gil Tene, Azul Systems.
"Additional features include compiler application programming interfaces (APIs) that allow developers to explicitly control optimization choice, and to force the pre-compilation of problematic classes, or rare but critical code paths during warm-up, before they are actually encountered during performance-critical execution," he continues.
Separately, Azul also announced that Zing's runtime would be included in technology vendor Cinnober's TRADExpress product.
Only users who have a paid subscription or are part of a corporate subscription are able to print or copy content.
To access these options, along with all other subscription benefits, please contact info@waterstechnology.com or view our subscription options here: https://subscriptions.waterstechnology.com/subscribe
You are currently unable to print this content. Please contact info@waterstechnology.com to find out more.
You are currently unable to copy this content. Please contact info@waterstechnology.com to find out more.
Copyright Infopro Digital Limited. All rights reserved.
As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (point 2.4), printing is limited to a single copy.
If you would like to purchase additional rights please email info@waterstechnology.com
Copyright Infopro Digital Limited. All rights reserved.
You may share this content using our article tools. As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (clause 2.4), an Authorised User may only make one copy of the materials for their own personal use. You must also comply with the restrictions in clause 2.5.
If you would like to purchase additional rights please email info@waterstechnology.com
More on Trading Tech
Technology alone is not enough for Europe’s T+1 push
Testing will be a key component of a successful implementation. However, the respective taskforces have yet to release more details on the testing schedules.
MayStreet founder says LSEG abandoned integration in new court filing
In response to LSEG’s motion to dismiss a lawsuit filed by the founder of one of its acquired companies, lawyers for Patrick Flannery have offered more details around communications between MayStreet and the exchange group.
As outages spread, it’s time to rethink how we view infrastructure technology
Waters Wrap: First AWS and then Azure. And these are only the most recent of significant outages. Anthony says a change is needed when it comes to calculating server migrations.
LLM firms come for finance, BMLL gets bought, LSEG users get Preqin feeds, and more
The Waters Cooler: Tradeweb completes fully electronic RFM swaptions trade, IBM cashes in on digital asset mania, and more frights and delights in this week’s news roundup.
TMX’s CEO wonders if tokenization is a ‘solution looking for a problem’
While acknowledging the potential of tokenizing securities, John McKenzie said regulators shouldn’t move too fast, and let customer demand drive adoption.
Bolsa Mexicana embarks on multi-year modernization project
Latin America’s second largest exchange is embracing cloud and upgrading its infrastructure in a bid to bolster its global standing, says CEO.
S&P’s $1.8 billion buy, an FIA restructure, a tokenization craze, and more
The Waters Cooler: CAIS creates CAISey, BNY deploys EquiLend, and more in this week’s news roundup.
Bloomberg integrates AI summaries into Port
One buy-side user says that while it’s still early for agentic tools, they’re excited by what they’ve seen so far.