Deep Dive180min
The Quarkus advantage: Turning build-time metaprogramming into runtime performances
The talk shows how Quarkus uses build-time indexing and bytecode generation to replace reflection-heavy Java framework mechanisms, improving startup, memory, latency, and throughput. Case studies in JSON serialization, REST clients, and LangChain4j demonstrate double-digit performance gains and the power of ahead-of-time metaprogramming.
talk.summaryAiDisclaimer
Mario FuscoIBM
Georgios AndrianakisIBM
Francesco NigroIBM
Java frameworks have long relied on reflection, classpath scanning and runtime dynamism to deliver flexibility, but at a significant cost in terms of startup time, memory footprint, and raw throughput. The main goal of this talk is demonstrating with a recently introduced practical optimization how the radically different architecture of Quarkus unlocks performance gains that traditional frameworks simply cannot achieve.
Using the case studies of JSON serialization, REST Client and Quarkus LangChain4j we will walk through how a Quarkus extension can leverage Quarkus's build-time indexing to identify and inspect the application's domain model at build time, and Gizmo to generate optimized bytecode that completely replaces Jackson's reflection-heavy serialization machinery. The result is not just cleaner execution, but measurable performance improvements—demonstrating double-digit throughput gains while reducing latency and runtime overhead.
Beyond the specific optimization, this talk reveals a deeper insight: many “dynamic” features in Java are only necessary because frameworks lack build-time knowledge. By embracing ahead-of-time metaprogramming, Quarkus redefines what is possible in the JVM ecosystem.
Attendees will leave with a clear mental model of Quarkus’ architecture, a practical understanding of build-time metaprogramming, and a fresh perspective on how rethinking the boundary between build and runtime can unlock entirely new performance and footprint frontiers.
Using the case studies of JSON serialization, REST Client and Quarkus LangChain4j we will walk through how a Quarkus extension can leverage Quarkus's build-time indexing to identify and inspect the application's domain model at build time, and Gizmo to generate optimized bytecode that completely replaces Jackson's reflection-heavy serialization machinery. The result is not just cleaner execution, but measurable performance improvements—demonstrating double-digit throughput gains while reducing latency and runtime overhead.
Beyond the specific optimization, this talk reveals a deeper insight: many “dynamic” features in Java are only necessary because frameworks lack build-time knowledge. By embracing ahead-of-time metaprogramming, Quarkus redefines what is possible in the JVM ecosystem.
Attendees will leave with a clear mental model of Quarkus’ architecture, a practical understanding of build-time metaprogramming, and a fresh perspective on how rethinking the boundary between build and runtime can unlock entirely new performance and footprint frontiers.
Mario Fusco
Mario is a senior principal software engineer at IBM working as Drools project lead. Among his interests there are also high performance systems and generative AI, being an active contributor of widely adopted projects like Quarkus and LangChain4j. He is also a Java Champion, the JUG Milano coordinator, a frequent speaker and the co-author of "Modern Java in Action" published by Manning.
Georgios Andrianakis
Georgios works for IBM as a Senior Principal Software Engineer and is currently one of the most active contributors to Quarkus, where he works in all sorts of areas, including but not limited to LangChain4j, RESTEasy Reactive, Spring compatibility, Kubernetes support, testing, Kotlin, and more.
He is also an enthusiastic promoter of Quarkus who never misses a chance to spread the Quarkus love!
He is also an enthusiastic promoter of Quarkus who never misses a chance to spread the Quarkus love!
Francesco Nigro
I've been working for many years in the computer field. In the last 15 years I've cultivated a strong passion in Java development and the under the hood details of OpenJDK, C and (x86) Assembly.
Big fan of DDD (Domain Driven Design) world, I've developed several Event-Sourcing high performance solutions in the medical and IoT field.
I'm an active member of various online communities on performance (https://groups.google.com/forum/#!forum/mechanical-sympathy), Senior Principal (Software) Performance Engineer and Performance Lead for Red Hat/IBM on Quarkus, Red Hat Top Inventor (2019).
I've collaborated to different projects related high-performance computing both as committer and contributors eg Quarkus, Vert-x, Netty committer, JCTools author, PMC of ActiveMQ Apache Artemis (Messaging Broker), HdrHistogram, JGroups-raft, ...
Big fan of DDD (Domain Driven Design) world, I've developed several Event-Sourcing high performance solutions in the medical and IoT field.
I'm an active member of various online communities on performance (https://groups.google.com/forum/#!forum/mechanical-sympathy), Senior Principal (Software) Performance Engineer and Performance Lead for Red Hat/IBM on Quarkus, Red Hat Top Inventor (2019).
I've collaborated to different projects related high-performance computing both as committer and contributors eg Quarkus, Vert-x, Netty committer, JCTools author, PMC of ActiveMQ Apache Artemis (Messaging Broker), HdrHistogram, JGroups-raft, ...