Go net/http with pgxpool ran the same PostgreSQL portfolio workload as Jex, Quarkus and the Spring Boot baseline. The largest differences were in startup and memory.
The experiment
All four candidates ran sequentially in two rounds of the same suite on one Debian 13 VM with one vCPU, 512 MiB RAM, no swap and colocated PostgreSQL 18.7. Each sustained 100 requests per second for 185 seconds. All eight runs completed their 18,500 scheduled requests without errors, timeouts or unsent requests.
Each candidate had a four-connection pool. Go used 1.27.4 with pgx 5.7.6. The Java stacks used OpenJDK 27 with G1 and an 80 MiB maximum heap. The curated evidence lists the full dependency versions and settings.
Results
| Stack | Ready (s) | Peak app RSS (MiB) | p95 (ms) | p99 (ms) | Min guest available (MiB) | Guest CPU non-idle (%) |
|---|---|---|---|---|---|---|
| Jex + CoilBase | 4.93 | 154.00 | 6.52 | 9.25 | 185.32 | 36.27 |
| Quarkus + CoilBase | 6.38 | 201.46 | 6.73 | 8.87 | 130.97 | 35.46 |
| Spring Boot + JDBC | 11.12 | 228.93 | 6.71 | 9.93 | 105.51 | 36.31 |
| Go net/http | 0.47 | 16.04 | 6.04 | 7.49 | 309.81 | 33.24 |
RSS and guest memory headroom are the sampled peak and minimum, respectively, during sustained load. Guest CPU non-idle includes I/O wait.
What stood out
Go reached readiness in 0.47 seconds on average and peaked at 16.04 MiB of app RSS, compared with 4.93–11.12 seconds and 154.00–228.93 MiB for the Java stacks. The latency and CPU differences were smaller. Go averaged 7.49 ms p99 versus 8.87–9.93 ms for Java. The guest spent about one-third of the sustained window outside CPU idle across all four stacks.
This fixed-load comparison measures how the application stacks behaved at 100 RPS. It does not measure maximum throughput. The results cover two rounds with Go fourth in both.