# Quarkus Insights #270: What's new in Quarkus 4? Ask us anything

This summary was generated using AI, reviewed by humans - [watch the video](https://youtube.com/live/0tEmT47sm5U) for the full story.

## Quarkus Insights #270: What's new in Quarkus 4? Ask us anything

Quarkus 4 is officially here! More than three years after the initial release of Quarkus 3, the team has delivered the next major milestone. In episode 270, hosts Holly Cummins and Eric Deandrea welcome members of the Quarkus core team: Clement Escoffier (project co-lead), Julien Ponge, Georgios Andrianakis, and Sanne Grinovero. Together, they hold an open ask-me-anything (AMA) session covering the core architectural changes, performance improvements, native compilation nuances, community questions, and the roadmap for the Quarkus 4 series.

<iframe width="560" height="315" src="https://www.youtube.com/embed/0tEmT47sm5U" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

## Quarkus News: Quarkus 4 is Released!

Holly kicked off the episode by sharing the big news: Quarkus 4.0 has officially landed. Clement noted that planning and early prototyping for Quarkus 4 began more than two years ago, following the launch of Quarkus 3 in April 2023.

The panel introduced their primary focus areas during the Quarkus 4 development cycle:

- **Julien Ponge:** Led the foundation migrations to [Netty](https://netty.io/) 4.2 and [Eclipse Vert.x](https://vertx.io/) 5, ensuring reactive infrastructure stability and modern protocol support.
- **Sanne Grinovero:** Focused on Java Virtual Machine upgrades, JVM capability alignment, and [Hibernate ORM](https://hibernate.org/orm/) 8 integration, laying the groundwork for substantial performance gains.
- **Georgios Andrianakis:** Managed the migration to [Jackson](https://github.com/FasterXML/jackson) 3 LTS, navigating package relocations, altered behavioral defaults, and API updates.
- **Clement Escoffier:** Coordinated the broader architecture, including rewriting the [Mutiny](https://smallrye.io/smallrye-mutiny/) API generator using [JavaParser](https://javaparser.org/) and resolving security vulnerabilities.
- **Holly Cummins:** Drove the new Dev Services API modernization and the site migration to Roq.
- **Eric Deandrea:** Managed ecosystem extension alignment and tracked compatibility across library upgrades.

## Foundations of Quarkus 4: Why a Major Release?

Major releases in Quarkus are reserved for foundational upgrades that cannot be delivered incrementally in minor versions without breaking changes. Clement and the panel detailed the key motivators behind Quarkus 4:

- **Netty 4.2 and Vert.x 5:** Netty 4.1 is approaching end of life in June 2027. Upgrading to Netty 4.2 and Vert.x 5 modernizes the entire reactive backbone of Quarkus.
- **Next-generation networking:** The industry is adopting [QUIC](https://en.wikipedia.org/wiki/QUIC), [HTTP/3](https://en.wikipedia.org/wiki/HTTP/3), and [WebTransport](https://w3c.github.io/webtransport/). Adopting these UDP-based protocols required the updated Netty and Vert.x foundations.
- **Jackson 3 LTS:** Jackson 2 is nearing end of life. Moving to Jackson 3 ensures long-term support and eliminates a common vector for JVM security vulnerabilities. Georgios explained that while package renames are straightforward, Jackson 3 altered several internal defaults that required meticulous adjustments across Quarkus APIs.
- **Hibernate ORM 8 and Jakarta Data:** Aligning with Hibernate ORM 8 introduces reflection-free improvements, updated bytecode enhancement, and support for [Jakarta Data](https://jakarta.ee/specifications/data/) and Quarkus Data.
- **AI integration:** Accommodating both coding agent experiences and embedded AI workloads required foundational core adjustments.

## Native Image, Cryptography, and OpenSSL

The audience asked about [OpenSSL](https://www.openssl.org/) support in [GraalVM](https://www.graalvm.org/) Native Image:

- **OpenSSL on the JVM vs. Native Image:** Quarkus 3.40 introduced OpenSSL support for JVM mode to support quantum-safe cryptography algorithms. Supporting OpenSSL inside Native Image requires integrating native C libraries with native binaries (often referred to as "quad-native"), which is technically complex. Native Image OpenSSL support via [SmallRye OpenSSL](https://github.com/smallrye/smallrye-openssl) has been postponed to early 2027; Native Image currently uses the standard JDK SSL engine.
- **BoringSSL for HTTP/3:** Netty currently requires [BoringSSL](https://boringssl.googlesource.com/boringssl/) for HTTP/3, and the team is evaluating how best to unify SSL implementations going forward.
- **Turbocharging Native Image TLS Performance:** Sanne shared a crucial tip for native image crypto performance. By default, Native Image compiles binaries targeting conservative CPU instruction baselines (for instance, original Raspberry Pi v1 for ARM) to ensure universal compatibility. Setting the `-march` compilation flag (such as `-march=haswell` or `-march=native`) allows the compiler to leverage modern CPU vector instructions. In benchmarks, setting this flag increased AES-256 TLS throughput from 73 MB/s to 3,200 MB/s.

## Performance, Benchmarks, and io_uring

When asked about benchmark results in Quarkus 4:

- **The upgrade lifecycle:** Initial major releases focus on landing architectural changes, resolving breaking points, and ensuring stability. Deep performance optimizations and fine-tuning follow in the minor releases.
- **Unlocking [io_uring](https://en.wikipedia.org/wiki/Io_uring):** The upgraded Netty and Vert.x foundations make io_uring support viable. Sanne cautioned that io_uring is not an automatic silver bullet for every workload, and realizing its benefits requires tailored benchmarks and appropriate I/O patterns.
- **Fixing upstream Netty substitutions:** During the migration, the team discovered that upstream Netty substitutions in Native Image were baking the build machine CPU processor count directly into the binary as a constant. Fixing this prevents suboptimal memory allocations when compiling on a developer laptop or CI server and running in production on different hardware.

## Community Contributions and AI Guidelines

A viewer asked how newcomers can start contributing to Quarkus:

- **Quarkus:Dev CFP:** The call for presentations is open for the upcoming Quarkus:Dev virtual conference. Community members are encouraged to submit talk proposals.
- **Where to start:** Browse open GitHub issues for items with clearly explained designs. Small pull requests (documentation improvements, JavaDoc updates, new tests, or targeted bug fixes) are always welcomed and far easier to review than massive multi-file changes.
- **Community interaction:** Join the dev channel on [Zulip](https://quarkus.zulipchat.com/) and participate in the bi-weekly Quarkus community calls.
- **Responsible use of AI:** While AI coding agents are useful development aids, contributors must understand their domain and the code they submit. The team emphasized that contributors should not act as passive "meat proxies" for AI tools without having domain understanding or the ability to discuss their changes.

## Reactive Contexts, Vert.x, and Micrometer

Technical questions from the chat covered reactive behavior and metrics:

- **Uni and duplicated contexts:** Uni stages represent lazy asynchronous operations that execute only when subscribed. In Quarkus REST or reactive messaging, request execution takes place on a Vert.x duplicated context.
- **Security advisory page:** Holly and Ozzy are building a dedicated security advisory page for Quarkus that will centralize CVE listings for Quarkus itself and third-party dependencies across the platform, targeted for early 2027.
- **Vert.x 5 and [Micrometer](https://micrometer.io/):** Quarkus maintains a tailored integration of Micrometer rather than using `vertx-micrometer` directly, ensuring fine-grained tag control across both Vert.x and non-Vert.x components. Roughly 90% of Vert.x 5 Micrometer capabilities have been integrated into Quarkus 4.

## Features Excluded or Delayed for 4.0

The panel clarified what was postponed to keep the 4.0 schedule on track:

- **Ecosystem extensions:** Ecosystem extensions such as [Apache Camel](https://camel.apache.org/) Quarkus are finalizing their 4.0 alignment and will be included in upcoming platform updates.
- **Roadmap features for 4.x minors:** [Apache Maven](https://maven.apache.org/) 4 project generation support, an updated Servlet story, gRPC transcoding (targeted for Quarkus 4.1), and Jakarta RPC will appear in upcoming minor versions.

## Interactive Shells vs. Coding Agents and MCP

Addressing a question about interactive REPL shells (such as Spring Shell):

- **Java CLI options:** For command-line and terminal applications, Quarkus provides excellent support through [picocli](https://picocli.info/), [Aesh](https://github.com/aeshell/aesh), and [TamboUI](https://tamboui.dev/).
- **The shift to AI agents and MCP:** The panel highlighted that interactive developer workflows are shifting toward AI coding agents connected via the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/). Quarkus Dev UI exposes MCP endpoints, and a dedicated Quarkus Agent MCP proxy allows coding agents to inspect running applications, query database schemas, inspect REST endpoints, and trigger code generation with full version awareness.

## The One Billion Row Challenge

A community member asked whether anyone had attempted the [One Billion Row Challenge (1BRC)](https://github.com/gunnarmorling/1brc) using Quarkus:

- Holly shared her experiment attempting to solve 1BRC in the [Rockstar](https://codewithrockstar.com/) programming language as an 80s lyrical rock ballad.
- The team noted that 1BRC is fundamentally a raw CPU cache, memory layout, and branch prediction challenge rather than an I/O framework benchmark. While Quarkus's lightweight memory footprint leaves more memory available to the JVM, 1BRC is not reflective of real-world enterprise framework workloads.

## Roadmap: New Release Cadence and Superheroes 4

Clement shared key upcoming milestones for Quarkus:

- **New release cadence:** Feature releases will now be spaced out to one release every two months instead of monthly. Long-Term Support (LTS) releases remain at two per year, with maintenance patch releases arriving every two months. An Architectural Decision Record (ADR) and dedicated blog post (coming soon) detail this model.
- **Quarkus Superheroes revamp:** The Quarkus Superheroes sample application and workshop are being refreshed for Quarkus 4 for early 2027. The updated workshop will feature a streamlined architecture, Dev UI integration, the new resilience and fault-injection testing extension, and AI capabilities using [Langfuse](https://langfuse.com/) and [Docling](https://docling.ai/).
- **Developer sandboxes:** The panel discussed feedback regarding [Red Hat OpenShift](https://www.redhat.com/en/technologies/cloud-computing/openshift) and [Kubernetes](https://kubernetes.io/) developer sandboxes in documentation.

## Key Takeaways

1. **Foundational leap:** Quarkus 4 modernizes core plumbing with Netty 4.2, Vert.x 5, Jackson 3, and Hibernate 8, preparing Quarkus for the next several years.
2. **Next-generation protocols:** The network stack is ready for QUIC, HTTP/3, and WebTransport.
3. **Native Image crypto tuning:** Setting the `-march` compilation flag in GraalVM Native Image yields massive performance gains for TLS algorithms.
4. **Performance optimization ahead:** With core stability established in 4.0, minor releases will focus on deep performance tuning and io_uring enablement.
5. **Agentic developer experience:** Dev UI and MCP integration enable AI coding agents to interact directly with running Quarkus applications.
6. **Predictable release cadence:** Feature releases now ship every two months, with LTS releases and maintenance patches continuing on a steady cadence.
7. **Welcoming contributors:** Over 1,200 contributors power Quarkus. Start with small, focused contributions on GitHub and connect via Zulip.

## Conclusion

Quarkus 4 sets a solid foundation for modern cloud-native, reactive, and AI-infused Java applications. By upgrading critical low-level infrastructure, the Quarkus team has cleared the path for ongoing innovation in upcoming minor releases. Next week on Quarkus Insights, Eric Deandrea will join as a guest for a deep dive into Docling and document intelligence in Java.

###### Watch the full episode on the [Quarkus YouTube channel](https://www.youtube.com/quarkusio).
