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
| Stack | Ready (s) | Peak app RSS (MiB) | Sustained p99 (ms) |
|---|---|---|---|
| Jex + CoilBase | 4.71 / 4.81 | 151 / 150 | 9.10 / 9.39 |
| Quarkus + CoilBase | 5.94 / 6.05 | 203 / 203 | 8.70 / 8.72 |
| Spring Boot + JDBC | 10.72 / 11.04 | 239 / 232 | 10.10 / 10.03 |
| Micronaut Data JDBC | 7.23 / 7.69 | 197 / 223 | 10.77 / 8.98 |
| Helidon Data JDBC | 5.04 / 5.29 | 168 / 167 | 8.48 / 8.35 |
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.