How does Helidon compare with other Java stacks when a database-backed application and PostgreSQL share a 512 MiB server? I extended Framework Benchmarks with Helidon 27.0.2, using its virtual-thread WebServer, incubating SQL-first Data JDBC API and HikariCP.

The experiment

All five stacks ran in two rounds on the same Debian 13 VM with one vCPU, 512 MiB RAM and no swap. Each shared the VM with PostgreSQL 18.7 and used OpenJDK HotSpot 27+35-2325 with G1GC, an 80 MiB maximum heap and a four-connection pool. After warm-up, each run sustained 100 requests per second for 185 seconds. All ten runs completed without workload errors, timeouts, unsent requests or OOM kills.

Framework and library versions

  • Jex: Avaje Jex 3.6, CoilBase 0.1.0-preview5, HikariCP 7.0.2.
  • Quarkus: Quarkus REST 3.40.1, CoilBase 0.1.0-preview5, Agroal 3.2.1.
  • Spring Boot: Spring Boot 4.1.1, Spring JDBC 7.0.9, Tomcat 11.0.24, HikariCP 7.0.2.
  • Micronaut: Micronaut HTTP Server Netty 5.2.11, Micronaut Data JDBC 5.2.0, HikariCP 7.1.0.
  • Helidon: Helidon WebServer and Data JDBC 27.0.2, HikariCP 7.1.0.

Results

Round 1 / round 2. RSS is the sampled application peak during sustained load.
StackReady (s)Peak app RSS (MiB)Sustained p99 (ms)
Jex + CoilBase4.71 / 4.81151 / 1509.10 / 9.39
Quarkus + CoilBase5.94 / 6.05203 / 2038.70 / 8.72
Spring Boot + JDBC10.72 / 11.04239 / 23210.10 / 10.03
Micronaut Data JDBC7.23 / 7.69197 / 22310.77 / 8.98
Helidon Data JDBC5.04 / 5.29168 / 1678.48 / 8.35
Grouped bars compare readiness, sustained p99 and sampled peak application RSS across both rounds. The preceding table provides the values.
Both measurement rounds on the same 512 MiB VM. Lower values are better for all three metrics.

What stood out

Helidon used about 29% less application memory than Spring Boot and reached readiness in roughly half the time. Only Jex used less memory. Helidon also recorded the lowest p99 in both rounds, though Quarkus was within 0.4 ms each time. The VM remained about 66% CPU idle during both sustained Helidon windows.

Helidon handled this workload within the VM budget using its own persistence abstraction. The comparison covers two rounds at a fixed offered rate, with Helidon running fifth both times. It does not measure maximum throughput.