Menu

31% to 58% Faster Java Pods on Kubernetes: Benchmarking JDK 25 Leyden AOT from Microservices to a 458-JAR Monolith
📰

31% to 58% Faster Java Pods on Kubernetes: Benchmarking JDK 25 Leyden AOT from Microservices to a 458-JAR Monolith

DEV Community: java·BaoKhang·2 days ago
#Ywh8epzS
#devtojava#devto#dev#minimal#standard
Reading 0:00
15s threshold

OpenJDK 25's Project Leyden AOT caches deliver GraalVM-like startup speedups without ahead-of-time compilation constraints or loss of peak JIT throughput. To test whether downloading large enterprise AOT archives on Kubernetes offsets these gains, we conducted a 32-cell controlled study on Google Kubernetes Engine (GKE) using mnemo-warmup across four Spring Boot workload tiers (from a 54.3 MiB microservice up to a 223.5 MiB ThingsBoard CE monolith).

Key Performance Findings

Single-Pod Readiness: Single-pod startup times improved by 31% to 58% , cutting readiness time from 4.5s to 2.0s (-56%) on the minimal service and from 30.8s to 21.2s (-31%) on the ThingsBoard CE monolith.

Network Overhead: Fetching and SHA-256 verifying the 223.5 MiB archive over same-region GKE Artifact Registry took only 0.7s for single pods and 0.9s median during 9-pod HPA bursts.

Live HPA 1→9 Scale-Outs: Per-pod readiness improved by 22% to 49% under load, dropping median per-pod App Ready time from 55.3s to 43.3s on ThingsBoard…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.