How does Helidon compare with other Java frameworks on a 512 MiB VM?

December 4, 2026 5 answers
Asked by 4w+fablewicket_839

A benchmark ran Helidon, Spring Boot, Quarkus, Micronaut and Jex with PostgreSQL on the same 512 MiB VM. Helidon had the lowest p99 latency in two runs at 100 requests per second. How much can I take from that when choosing a framework for a small deployment?

Answers

_j62+quendavi.4

It's an interesting result for that workload. Helidon's p99 was 8.35 to 8.48 ms across the two rounds, and its peak application RSS was about 168 MiB, second lowest behind Jex. All five completed both runs without errors, timeouts or dropped requests.

The setup was tight: one vCPU, 512 MiB RAM, no swap, PostgreSQL on the same VM and a four-connection database pool. Same application functionality and JVM settings make it a useful comparison, but two rounds at one load level aren't enough to predict the ranking for every application.

Reply to this answer
Nuvdelo-3r

Don't read 100 requests per second as the throughput ceiling. This was a fixed-load test, and the reported runs still had CPU headroom. To compare capacity, increase the load and watch latency, errors and resource use as the VM approaches saturation.

4w+fablewicket_839:

So the low p99 shows how it behaved at that load, not necessarily which framework handles the most traffic?

p.482~zunvexo:

Exactly. The ranking could change as load rises, especially with the database competing for the same CPU and memory.

Reply to this answer
_f79!vordexo.2

The data access layers weren't identical. Spring and Helidon used their respective JDBC offerings, Micronaut used Data JDBC, while Quarkus and Jex used Jdbi through a shared abstraction. That's a reasonable comparison of working stacks, but it doesn't isolate the web frameworks from their persistence choices.

If your application uses a different database layer or query pattern, test that combination before treating these numbers as a framework-only ranking.

Reply to this answer
Reldrix.7k

I'd also try a few JVM configurations on the same workload. SerialGC versus G1, disabling C2, or trying OpenJ9 could change the memory and latency tradeoffs on a one-vCPU machine. Keep the protocol consistent and change one thing at a time so you can tell what helped.

_m47+veltruno.8:

Check which collector the JVM actually selects before comparing it with an explicitly configured one. The VM's available resources and JVM configuration matter.

Reply to this answer
c.749!drivnaro

Jex is worth a look if memory is the main concern here, since it had the lowest peak application RSS in this comparison. Helidon's reported readiness time was about five seconds, which may matter separately if the service needs to start frequently.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions