November 23, 2026

Quarkus vs Spring Boot in 2026: what moving a team costs

Quarkus vs Spring Boot on Java 25: startup and memory from a published benchmark, what the Spring compatibility extensions cover, and when staying wins.

Recruiting

Tech

Quarkus starts faster and uses less memory than Spring Boot in a published Java 25 benchmark with stated versions and method. Spring Boot's AOT cache and native image close part of that gap, and Quarkus's Spring compatibility extensions cover only a subset of Spring. Pick Quarkus for a new service where footprint or scale-to-zero is the constraint. Keep an existing Spring team on Spring Boot 4 and try the AOT cache first.

As of 23 November 2026, Spring Boot 4.2.0 is the current release and Quarkus 4 isn't final yet; the Beta1 announcement planned the final for the end of November.

Which should you pick for your service?

Your situationPickWhy
New service, tight memory or scale-to-zeroQuarkusNative mode is the lightest option measured below
Existing Spring estate with shared librariesSpring BootCompatibility extensions cover only a subset
Repositories built on Specifications, QueryDSL or native queriesSpring BootQuarkus's JPA extension doesn't support them
Kotlin-first teamSpring BootOur judgment, not measured here
Hiring pool decidesSpring BootLarger Spring hiring pool, in our view

Our view on the Kotlin row is in Kotlin vs Java in 2026: what to pick and who to hire.

How much faster and lighter is Quarkus on Java 25?

The benchmark on gillius.org, published on 9 October 2025, is on older versions (Spring Boot 3.5.6, Quarkus 3.28.1, Micronaut 4.5.4), on one Apple M2 Pro laptop, with one small app against Postgres. It measures startup and memory only: no throughput, no cold start. It doesn't cover Spring Boot 4.2 or the current Quarkus 3.40 line.

JVM mode

MetricQuarkusSpring Boot
Startup1.154 s1.909 s
Max RSS271.2 MB388.9 MB
Heap used14.4 MB28.2 MB

Take 20 replicas of one Spring Boot REST service with Hibernate and Postgres, on Java 25 in 512 MB-class containers. That's an illustration, not a measured service. The benchmark's memory gap is 117.7 MB per replica, or 2,354 MB across the fleet. Worth having, but modest next to a rewrite, and one small app on one laptop won't transfer to your service.

So run your own service in both frameworks under the same container limit. The benchmark's method works as a recipe: start four times, drop the first, average the other three, and read max RSS from /usr/bin/time -l.

Native image

MetricQuarkusSpring Boot
Startup0.049 s0.104 s
Max RSS70.5 MB149.4 MB

Quarkus still wins, but the gap in absolute terms is small: both start in about a tenth of a second or less. The benchmark's author reports that Spring's native build was slower and hit an out-of-memory error once, an observation rather than a measurement. If your service scales to zero, the startup figure matters more than the memory one.

Where Micronaut fits

Micronaut sits between the two on the JVM, starting in 0.656 s with 253.2 MB of RSS. Native, it's level with Quarkus on startup (0.050 s) and heavier on memory (83.8 MB). The benchmark used Micronaut 4.5.4, so check the current release before treating that as a verdict. If you're weighing other stacks too, the blog has more framework and language comparisons.

What can you fix without leaving Spring Boot?

Before a migration, try the levers Spring already ships. They cost a flag or a build change, not a rewrite.

AOT cache on Java 25

Spring Boot's reference documentation describes an AOT cache that needs Java 25 or later. You extract the jar, run it once to record the cache, then run with the cache:

Bash
java -Djarmode=tools -jar my-app.jar extract --destination application
cd application
java -XX:AOTCacheOutput=app.aot -Dspring.context.exit=onRefresh -jar my-app.jar
java -XX:AOTCache=app.aot -jar my-app.jar

The cache is only valid for the same app build and the same Java version, so regenerate it in every build. The documentation gives no startup figure. Measure it with the method above before you promise anyone a number.

Spring native image

Spring Boot 4.2 needs GraalVM 25 or later for native builds, per its system requirements page. That's the Spring-side route to a smaller footprint without changing frameworks. The catch is the slower build the benchmark's author noticed.

Search more than 300,000 open roles in one place
From more than 19,000 companies across the UK, the US and Spain. Free during the open beta, until the end of November.
Try Job Search

What does moving a Spring service to Quarkus involve?

Two routes

Quarkus's migration page describes two routes. The first uses compatibility extensions: you keep @RestController, JpaRepository and @Transactional, while the build plugin, BOM and property names change. The second rewrites to native Quarkus APIs (Jakarta REST, CDI, Panache), where Quarkus says most migrations end up. It also says coverage of the compatibility extensions isn't total.

What the extensions don't cover

Quarkus's Spring Data JPA guide lists what the extension doesn't support:

Spring Data JPA featureStatus in Quarkus
QueryByExampleExecutorThrows a runtime exception
QueryDSLUnsupported
JpaSpecificationExecutorUnsupported
Native or named queries with @QueryUnsupported
@LockUnsupported
Future return typesUnsupported
Custom base repositoryUnsupported

Back to the 20-replica service. If it filters through JpaSpecificationExecutor and runs @Query(nativeQuery = true), those repositories need rewriting in Panache or plain Hibernate code before the memory saving shows up. Read this table against your repositories before you size anything.

What it costs

The only effort claim on Quarkus's migration page is its own: most developers are productive within days, which is a vendor's view.

You can size your own. The same page names three tools: the Migration Toolkit for Applications, the OpenRewrite SpringBootToQuarkus recipe, and a Quarkus Migration Skill (npx skills add quarkusio/skills) that opens a draft pull request. Run the recipe or the assessment on one service and read the diff. That tells you more than any estimate.

Moving now or after Quarkus 4?

Quarkus 4.0.0.Beta1, released on 1 October 2026, raises the baseline to Java 21 and brings Jackson 3, Jakarta REST 4 and Hibernate ORM 8. Our view: if you're starting a migration, read the 4.0 migration guide that the Beta1 announcement points to first, or you may do the work twice.

What this means for your team

If the next service is footprint-critical, prototype it on Quarkus and compare it with a Spring build under the same container limit. If you own an existing Spring service, turn on the AOT cache and measure before anything else. Then run the OpenRewrite assessment on one service, and migrate by service, not by company.

Hiring belongs in the decision too. In our view, Spring's hiring pool is larger than Quarkus's, so ask for counts of Quarkus experience in your own market before you bet a team on it. Quarkus 4's Java 21 baseline and Spring Boot 4.2's Java 27 support both feed your JDK plan, and JDK 27 release: what to check before you upgrade covers that upgrade.

Frequently asked questions

Is Quarkus faster than Spring Boot?

On startup and memory, yes, in both JVM and native mode in that benchmark. It tested older versions and didn't measure throughput or cold starts, so measure your own service.

Is Quarkus the future of Java?

Both frameworks are actively maintained: Spring Boot 4.2.0 is current and Quarkus 4 isn't final yet. Our view: the choice follows your constraint, footprint and scale-to-zero for Quarkus, an existing Spring estate and team for Spring Boot.

Is Spring Boot still relevant in 2026?

Yes. Spring Boot 4.2.0 needs Java 17 at minimum and runs up to Java 27.

Can I run Spring code on Quarkus?

Partly. Compatibility extensions let you keep annotations such as @RestController, JpaRepository and @Transactional, but Quarkus says coverage isn't total, and its Spring Data JPA extension doesn't support Specifications, QueryDSL or native @Query.

Sources

Share this article

Author Image

HighCircl Editorial Team

The HighCircl editorial team writes about hiring software engineers, nearshore development, and engineering team building. Our articles draw on direct experience sourcing and placing senior developers across Poland, Hungary, Slovakia, Serbia, Slovenia, Romania, and Spain — and on candid conversations with the CTOs and engineering leads who hire them.

HighCircl is a nearshore engineering network that delivers matched candidate shortlists in 72 hours. Every piece of content we publish is informed by real engagement data: actual developer rates, real hiring timelines, and what separates engineering teams that scale cleanly from those that stall.