Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

12 September 2026

43 Pages

Empirical Static and Infrastructure Evaluation of Microservice Frameworks Across JVM, GraalVM Native Image, and Rust in Containerized Environments

,
and
Department of Software Engineering, Algebra Bernays University, 10000 Zagreb, Croatia
*
Author to whom correspondence should be addressed.

Abstract

Framework and runtime selection for containerized microservices are usually guided by request-level benchmarks, yet deployment-facing costs often dominate operational expenditure in Kubernetes environments. This study empirically evaluates four such infrastructure characteristics: container image size, startup time, idle resource consumption, and horizontal scaling latency. Eight microservice framework configurations spanning three execution models are evaluated: JVM (Spring Boot, Spring WebFlux, Quarkus, and Ktor), GraalVM Native image (Quarkus variants, including distroless and UPX-compressed images), and Rust (Actix Web). All metrics are collected technology-agnostically at the container level via cAdvisor and Kubernetes lifecycle events. Three trade-off profiles emerged during the research: Rust achieves a 2.95 MiB idle memory footprint (a 69:1 ratio versus Spring Boot on a working-set basis, or 21:1 on the more conservative proportional-set-size basis) through garbage-collector-free memory management. GraalVM Native image variants start 1.2–1.7× faster and consume up to 1.9× less memory than their JVM equivalents, although this memory advantage is not uniform: the standard reactive Native image consumes more idle memory (115.0 MiB) than the corresponding JVM variant (98.0 MiB). A UPX compression paradox is identified and explained at the kernel level: compression shrinks images by approximately 2.5:1 yet inflates idle memory to 215–229 MiB, above JVM baselines, because decompression into private anonymous memory defeats shared page mapping. Scale-up latency (1.8–3.9 s) is governed by per-instance startup rather than framework-exclusive lifecycle optimizations, partially refuting one of four research hypotheses. The findings yield context-dependent selection guidance and a fully reproducible benchmark suite. All measurements were obtained on a single-node bare-metal K3s cluster, the primary metrics characterize the idle state of a minimal no-operation service, and the only load applied is a single fixed-rate validity check at 100 requests per second. The reported values therefore constitute lower-bound, deployment-facing infrastructure costs rather than predictions of behavior under production business workloads, multi-node topologies, or managed cloud substrates.

1. Introduction

Microservice architecture has become the dominant paradigm for designing and deploying cloud-Native distributed systems. As organizations decompose monolithic applications into independently deployable services, the choice of runtime environment and framework carries direct implications for operational cost, scaling agility, and resource utilization [1]. The current technology landscape presents practitioners with three fundamentally different execution models: traditional Java Virtual Machine (JVM) applications that leverage just-in-time (JIT) compilation for runtime optimization [2,3], ahead-of-time (AOT) compiled GraalVM Native image executables that eliminate JIT warm-up overhead in favor of rapid startup and reduced memory footprint [4], and systems-level languages such as Rust that achieve memory safety through compile-time ownership semantics without garbage collection overhead [5,6]. Each model entails distinct trade-offs across startup latency, steady-state resource consumption, and horizontal scaling behavior properties that are particularly consequential in containerized Kubernetes deployments where resource requests directly determine scheduling density and infrastructure cost.
Despite growing adoption of these heterogeneous runtime environments in production microservice deployments, the existing literature lacks comprehensive empirical comparisons that span all three ecosystems under realistic containerized conditions. Prior benchmarking studies tend to focus on request-level throughput and latency within a single runtime ecosystem, neglecting the deployment-facing constraints encountered in practice [7,8,9]. In particular, the static infrastructure metrics, container image size, application startup time, idle-state memory and CPU consumption, and horizontal scaling dynamics, remain underexplored despite their outsized influence on deployment density, autoscaling responsiveness, and total cost of ownership. This gap leaves DevOps teams and architects without evidence-based guidance when selecting frameworks for Kubernetes-based microservice platforms.
This paper addresses that gap through a systematic, measurement-based evaluation of eight microservice framework configurations spanning JVM, GraalVM Native image, and Rust: Spring Boot, Spring WebFlux, Quarkus (JVM and Native variants in both imperative and reactive modes), Ktor, and Actix Web. All frameworks are deployed in Docker containers orchestrated by Kubernetes, and measurements are collected exclusively at the container level via cAdvisor and Kubernetes lifecycle events, ensuring technology-agnostic comparability across runtime environments. The study quantifies four categories of static and infrastructure metrics, container image size, startup time, idle resource consumption, and horizontal scaling characteristics, under a standardized resource profile representative of typical production allocations.
Three research questions guide the investigation:
  • RQ1: How do the three execution models (JIT-compiled JVM bytecode, AOT-compiled GraalVM Native image binaries, and natively compiled Rust) differ in deployment-facing infrastructure costs when the deployment environment, dependency set, and measurement path are held constant?
  • RQ2: Do container-image optimizations, in particular UPX executable compression, transfer into runtime resource efficiency, or do they introduce hidden costs?
  • RQ3: Which factor governs horizontal scaling responsiveness in Kubernetes: the underlying runtime, framework-level lifecycle optimizations, or per-instance startup latency?
The study is structured around four research hypotheses derived from the architectural differences between the evaluated runtimes that operationalize the research questions:
  • (H1) GraalVM Native image compilation produces the best simultaneous optimization of startup time and idle memory footprint among the evaluated JVM-derived runtimes, outperforming standard JVM execution on both dimensions;
  • (H2) Rust (Actix Web) achieves the lowest absolute idle memory footprint across all evaluated frameworks, owing to ownership-based memory management that eliminates garbage-collector infrastructure;
  • (H3) UPX executable compression reduces container image size but paradoxically increases runtime memory footprint beyond JVM baselines, because decompression prevents shared page mapping at the OS level;
  • (H4) Quarkus framework-level lifecycle optimizations, rather than the underlying runtime (JVM versus Native), are the primary determinant of horizontal scaling speed, yielding uniform scale-up latency across all Quarkus variants in the evaluated environment. These hypotheses are evaluated empirically in Section 4 and interpreted in Section 5.
The main contributions of this work are as follows:
(1)
A unified empirical comparison of static and infrastructure metrics across JVM, GraalVM Native image, and Rust microservice framework under a common, technology-agnostic, container-level measurement protocol in a Kubernetes environment (Section 3 and Section 4);
(2)
The identification and kernel-level explanation of a UPX compression paradox: executable compression reduces container image size by approximately 2.5:1 but increases idle memory usage above JVM baselines because private decompression defeats copy-on-write page sharing; the mechanism is verified through process-level memory-mapping analysis across replicate counts (Section 5);
(3)
Empirical evidence that horizontal scale-up latency is governed primarily by per-instance startup and readiness detection rather than by framework-exclusive lifecycle optimizations, a result that partially refutes hypothesis H4 (Section 4.4 and Section 5);
(4)
Context-dependent, evidence-based selection guidance that links the measured trade-off profiles to concrete deployment scenarios such as serverless platforms, autoscaled Kubernetes services, and memory-constrained edge environments (Section 5);
(5)
A fully reproducible benchmark suite that consists of source code, deployment manifests, measurement scripts, and pre-built container images for all evaluated variants that are released publicly (according to the Data Availability Statement).
The remainder of this paper is organized as follows. Section 2 reviews related work on microservice frameworks, compilation strategies, and containerization benchmarks, and compares this study with it. Section 3 describes the research methodology, including the experimental design, framework selection, metric definitions, and test environment. Section 4 presents empirical results across all four metric categories. Section 5 discusses the practical implications of the findings, including deployment density analysis, technology selection recommendations, and threats to validity. Section 6 concludes with a summary of contributions and directions for future work.

3. Methodology

Figure 1 presents the overall system architecture of the experimental environment, illustrating how the evaluated framework pods, Kubernetes control plane, monitoring stack, and measurement automation components interact within the bare-metal K3s cluster.
Figure 1. System architecture of the experimental environment. Framework pods run inside a bare-metal K3s cluster with resource limits of 1 GiB and 1 CPU core. cAdvisor exposes container metrics to Prometheus via HTTP scraping; Kubernetes lifecycle timestamps are queried through the API server. Measurement scripts orchestrate deployment lifecycle events via kubectl and collect aggregated results in CSV/JSON format. Controlled variables: the framework configuration (eight levels, Table 1) is the only manipulated factor, while the resource profile (requests of 512 MiB memory and 500 millicores, limits of 1 GiB memory and 1000 millicores), the shared Kafka broker and PostgreSQL instance, the container runtime, the kernel, and the image-cache state are held constant across all configurations. Measured indicators: container_memory_working_set_bytes and container_memory_rss in MiB, rate (container_cpu_usage_seconds_total [1 m]) in cores, and the PodScheduled-to-Ready interval in seconds. Collection cycle: Prometheus 2.48.0 scrapes the kubelet cAdvisor endpoint at a 5 s scrape interval with a matching 5 s evaluation interval and a 7-day retention window; series are restricted at scrape time to the measurement namespace and to non-empty container labels, and CPU is averaged over a one-minute rate window at query time, so each reported CPU value summarizes twelve scrapes. Kubernetes lifecycle transitions are observed on a watch stream and timestamped locally at millisecond resolution. No arrow enters a framework pod from the monitoring stack, which denotes that no value reported in this study originates from application-level instrumentation.
Table 1. Frameworks and languages with concurrency models.
The architecture in Figure 1 separates the experiment into four groups that correspond directly to the four roles in the measurement design. The framework pods group (upper left) contains the eight evaluated configurations, each deployed as an independent pod under the same 1 GiB and one-CPU-core resource profile, so that no configuration receives a scheduling or capacity advantage. The Infrastructure Services group (lower center) holds the single Apache Kafka broker and PostgreSQL instance shared by every framework; because all pods connect to the same two backends over the same protocols and ports, any difference in the reported readiness or memory figures originates in the framework rather than in the dependency it communicates with. The monitoring stack group (right) shows the observation path: cAdvisor reads cgroup-level counters from the container runtime, Prometheus scrapes them over HTTP, and values are retrieved through PromQL. This path is the practical realization of the technology-agnostic principle stated in Section 3.1, and the direction of the arrows carries the argument: no arrow enters a framework pod from the monitoring stack, which means that no application-level agent or instrumentation library is present in any measured container. The memory and CPU values reported in Section 4.3 are therefore the values the operating system attributes to the container, not values the application reports about itself, which is what makes a Spring Boot JAR, a GraalVM Native executable and a Rust binary directly comparable. The Test Automation group (lower left) drives the experiment through the Kubernetes API using kubectl only and exports results in CSV form. Its placement outside the measured pods matters for the interpretation of the results: because the scripts act on deployments through the orchestrator and read timing information from Kubernetes lifecycle events, the startup and scaling durations reported in Section 4.2 and Section 4.4 are measured from the orchestrator’s perspective and include container creation and readiness detection, which is precisely the quantity a platform operator experiences during an autoscaling event. The frameworks do expose their own metrics endpoints, and these are collected in a separate scrape job for cross-checking, but no value reported in this study is derived from them.

3.1. Research Design Overview

This study employs an empirical, measurement-based methodology to evaluate the static and infrastructure characteristics of microservice frameworks deployed in containerized Kubernetes environments. The research targets deployment-facing properties that directly influence operational cost, scaling agility, and resource planning: container image size, application startup time, idle-state resource consumption, and horizontal scaling behavior. These properties are frequently overlooked in the framework benchmarking literature, yet carry significant practical implications for DevOps teams managing microservice deployments at scale.
The evaluated frameworks span garbage-collected JVM applications, ahead-of-time-compiled GraalVM Native image executables, and Rust binaries with ownership-based memory management. These architectural differences preclude runtime-specific instrumentation as a common baseline. Application instrumentation libraries such as Micrometer and OpenTelemetry were rejected due to uneven integration quality across ecosystems and, more critically, because application-level metrics may diverge from actual resource consumption observed at the operating system level. The methodology therefore adopts a technology-agnostic approach based entirely on container-level metrics collected through cAdvisor and Kubernetes lifecycle events, capturing what the operating system and Kubernetes scheduler observe.
All measurements were conducted under a standardized resource profile of 1 GiB memory and one CPU core, representing a typical Kubernetes microservice deployment. A minimal no-operation (Noop) endpoint serves as a validation mechanism, confirming full application initialization before static measurements are recorded. Specifically, every deployment requests 512 MiB of memory and 500 millicores and is limited to 1 GiB of memory and 1000 millicores; the requests govern scheduling and CPU shares while the limits govern throttling and out-of-memory termination. Both values are identical across all evaluated configurations.
The scope of this study is deliberately restricted to static and infrastructure metrics. Request-level throughput and latency under realistic workloads involving payload serialization, database access, message-broker interaction, TLS, logging, and observability instrumentation are outside the scope of this evaluation and are identified as future work in Section 6. The reported results therefore characterize deployment-facing costs rather than runtime processing performance, and low idle resource consumption should not be interpreted as evidence of superior performance under load. Section 3.3.5 nevertheless adds a light fixed-rate load test as a validity check of the idle-state results, while comprehensive request-level benchmarking remains outside the scope.
All measurement procedures are executed through dedicated shell scripts, ensuring consistent test execution, full result reproducibility, and straightforward automation across all evaluated frameworks.

3.2. Framework Selection and Configuration

Eight framework configurations were selected based on production maturity, ecosystem adoption, and representation of distinct compilation and deployment models.
Within the JVM ecosystem, Spring Boot and Spring WebFlux were included as the de facto industry standard for enterprise microservices, while Quarkus was selected as its primary cloud-Native challenger, offering both JVM and GraalVM Native image compilation paths in imperative and reactive variants. Ktor was chosen as the representative Kotlin-Native framework with a coroutine-based concurrency model. Micronaut was also considered; however, it was excluded from the scope to prioritize cross-ecosystem breadth following previous comparative work [12]. The scope of this paper prioritizes cross-ecosystem analysis rather than in-depth saturation within the JVM. Axum, while a growing alternative, has a comparatively shorter production track record and a less established ecosystem of third-party integrations at the time of this study. The selected set therefore covers all three target runtime environments, JVM, GraalVM Native image, and Rust, with frameworks representative of current production practice. Table 1 summarizes the resulting selection, listing for each configuration its implementation language, concurrency model, and compilation strategy; the framework names introduced there are used consistently in all subsequent tables and figures.
For container image size evaluation, additional GraalVM Native image variants were included to map the optimization spectrum: the standard variant using UBI Minimal with shell and system libraries, a micro variant with minimal system libraries, a distroless variant without shell or Unix utilities, and a UPX-compressed variant applying maximum executable compression at ratios of 2.5:1 or higher. The compressed variant introduces a trade-off: executables require full decompression into memory at startup, potentially increasing startup latency and memory consumption.
All applications expose an identical Noop endpoint returning a constant minimal HTTP response (“Hello World”) that performs no I/O and no computation; it is distinct from the health endpoints used by the readiness probes (Section 3.3.2). Each application additionally implements I/O-bound and compute-bound endpoints, but these serve a complementary request-level evaluation that is the subject of a separate study and are not exercised in the measurements reported here. Static measurements are recorded only after a successful response confirms full operational readiness.

3.3. Static and Infrastructure Metrics

3.3.1. Container Image Size

Container image size is defined as the total size of all layers composing the production image, including the compiled application and its dependencies. Container management uses Podman, which employs a daemonless, rootless architecture fully compliant with OCI standards. Image-size measurements were conducted using the Podman images command, recording the size of each final production image after optimization through multi-stage build processes. For GraalVM Native configurations, all four image variants (standard, micro, distroless, UPX-compressed) were measured separately.

3.3.2. Startup Time

Startup time is defined as the interval from the scale command that creates the pod to the point at which the service is available, and is reported as two quantities. Application readiness is the interval to the first HTTP 200 returned by the application health endpoint, observed by a client-side poll. Pod readiness is the interval to the Ready condition on the pod object, observed on a Kubernetes watch stream. Both are wall-clock intervals taken from the local clock at millisecond resolution; neither is reconstructed from the one-second condition timestamps carried in the pod object, which bounded the resolution of the earlier protocol.
For each framework, ten consecutive cold-start measurements were conducted. Between measurements, deployments were fully deleted and reapplied to ensure genuine cold-start conditions. The measurement procedure follows this sequence: (1) delete the existing deployment, (2) wait for resource release and node idle state, (3) apply the deployment YAML manifest, (4) open a watch stream on the pod object and poll the application health endpoint, (5) record the local clock at the first HTTP 200 and at the Ready transition, and (6) calculate both durations. Results are reported as mean and standard deviation together with the 95% confidence interval of the mean over the ten runs; the mean application-ready time serves as the primary comparison metric. No outlier filtering was applied: all ten runs contribute to the reported statistics. Because both intervals are resolved to the latency of the watch stream and of the health-endpoint poll, on the order of ten milliseconds, the reported standard deviations reflect genuine run-to-run variation rather than timestamp quantization, and ratios between configurations are quoted only where the confidence intervals of the two configurations do not overlap. The raw per-run measurements underlying every mean, standard deviation and ratio reported in this study are released with the benchmark suite (Data Availability Statement) so that all derived quantities can be recomputed independently.
The readiness probe was defined semantically identically for all frameworks as an HTTP GET against a health endpoint exposed through each framework’s idiomatic mechanism: Spring Boot and Spring WebFlux use Spring Boot Actuator, Quarkus uses SmallRye Health, and Ktor and Actix Web implement custom health endpoints written to provide equivalent behavior. In all cases, the readiness check verifies connectivity to the PostgreSQL and Kafka infrastructure, so a pod is reported Ready only after the application has established its infrastructure connections. The reported readiness times therefore include dependency connection initialization, and differences in how each framework and client library establishes these connections contribute to the measured variance across frameworks. The probes were configured with no initial delay (initialDelaySeconds = 0), so readiness detection begins immediately upon container start, and the probe interval bounds the timing resolution of readiness detection. The probe period is 10 s with a failure threshold of three attempts. This period is the reason the pod-ready and application-ready intervals reported in Section 4.2 diverge for the three slowest configurations: an application that becomes ready shortly after a probe attempt is not observed as Ready until the next attempt, up to ten seconds later. The application-ready interval is measured by an independent client-side poll and is therefore unaffected by the probe period, which is why it is used as the primary comparison metric. All container images were pre-pulled to the node before measurement, so the reported startup times exclude image pull time and capture container creation and application initialization as observed by the orchestrator. Because all measurements were executed on a single-node cluster with an identical container runtime, readiness probe configuration, and image-cache state, Kubernetes scheduling and container runtime effects are constant across frameworks and do not confound the relative comparison. The complete measurement cycle, from deployment deletion through timestamp extraction to aggregation over ten iterations, is summarized in Figure 2.
Figure 2. Startup time measurement procedure showing the deployment cycle, Kubernetes timestamp extraction, and aggregation over ten iterations per framework. Measured variables: the interval from the scale command to the first HTTP 200 from the application (application readiness) and to the Ready condition on the pod (pod readiness), both recorded at millisecond resolution from a client-side health-endpoint poll and a watch stream on the pod object. Iterations: n = 10 cold starts per configuration, each preceded by full deployment deletion and cleanup, with no outlier filtering. Aggregated statistics: minimum, maximum, mean, standard deviation, and 95% confidence interval of the mean, as reported in Section 4.2. Fixed parameters: an HTTP GET readiness probe against each framework’s health endpoint with initialDelaySeconds = 0, periodSeconds = 10, and failureThreshold = 3, an identically configured liveness probe, and all container images pre-pulled to the node.
Figure 2 makes explicit the three properties on which the validity of the startup measurements in Section 4.2 depends. First, each iteration begins with “Delete Deployment” followed by “Wait for Cleanup” rather than with a restart, so every measurement observes a genuine cold start: no container is reused, no connection state survives, and the framework repeats its full initialization sequence on each run. Second, the measured interval is not taken from application logs but reconstructed from the pod object itself. A watch stream on the pod object and a poll of the application health endpoint yield the two transition instants and Calculate Startup Time is their difference from the scale command. This is what makes a single number comparable across heterogeneous runtimes: the quantity being compared is defined by Kubernetes rather than by each framework’s own notion of when it has started, and it includes the readiness check that verifies PostgreSQL and Kafka connectivity. Third, the “Iteration < 10?” decision returns control to the top of the loop, so that the value entering “Aggregate Results” is a distribution rather than a single observation; the minimum, maximum, mean and standard deviation reported in Section 4.2 are computed at this step, with no outlier filtering applied. Because both intervals are recorded at millisecond resolution, the treatment of within-group differences in Section 4.2 rests on the overlap of confidence intervals rather than on timestamp quantization: the differences among the GraalVM Native variants fall inside those intervals and are treated as unresolved, whereas the multisecond gap between the Native and Spring configurations is several times the observed dispersion and is treated as a real effect.

3.3.3. Memory Footprint and CPU at Idle

Memory footprint was measured using the container_memory_working_set_bytes metric from cAdvisor, representing memory actively used and not reclaimable without affecting application operation. This metric excludes reclaimable page cache and serves as the basis for Kubernetes OOM kill decisions, making it the most operationally relevant measure of per-container memory cost. The container_memory_rss metric was also recorded; note that under cgroups v2 this metric reports anonymous memory only (heap and stacks), not the classic process-level resident set size, so it excludes file-backed pages of the executable and libraries. It is used here to capture divergence between the working set and anonymous memory occupancy across different memory management models.
Idle CPU utilization was measured using the Prometheus rate() function over container_cpu_usage_seconds_total with a one-minute window, where 1.0 corresponds to full utilization of one core. Table 2 lists the exact Prometheus query used to obtain each of the three reported metrics, so that the measurements can be reproduced on any cAdvisor-instrumented cluster without ambiguity about metric selection or aggregation window.
Table 2. Metrics and corresponding Prometheus queries.

3.3.4. Scaling Characteristics

Scaling was measured bidirectionally: scale-up from 1 to 10 replicas and scale-down from 10 to 1. An automated Bash script orchestrated the process: (1) initialization by scaling to one replica and confirming Ready status with a 300 s timeout, (2) scale-up measurement capturing millisecond-precision timestamps before and after scaling, verified by confirming the actual running pod count, and (3) scale-down measurement using a polling loop that reads the deployment’s readyReplicas field at a 100 ms interval until it returns to the minimum replica count. The quantity captured is therefore the interval until the deployment reports the target number of ready replicas, not the completion of pod deletion: a pod ceases to be ready appreciably before its object is removed, so the reported figures bound termination from below rather than measuring it. The polling loop, and not the resolution of the timestamps themselves, is the limiting instrument for this metric: with a 100 ms polling interval, no event shorter than that interval can be resolved, however finely the surrounding timestamps are recorded. Since all observed scale-down durations fall below that bound, the values reported in Section 4.4 are to be read as evidence that termination completed within the first polling interval rather than as resolved durations, and no comparison between frameworks is drawn from them. Ten iterations per framework were conducted, with results reported as minimum, maximum, and mean values together with the standard deviation. No outlier filtering was applied. The complete measurement scripts (S2_startup_measure.sh, S1_scale_test.sh) are provided as Supplementary Materials (Supplement Files S1 and S2) and are also available in the public GitHub repository referenced in the Data Availability Statement.
As in the startup measurements, container images were pre-pulled to the node before each scaling run, so scale-up times are unaffected by image pull latency and reflect pod creation, application initialization, and readiness signaling only. Figure 3 summarizes this bidirectional procedure: the upper path shows scale-up from one to ten replicas, closed by the readiness of the tenth pod, and the lower path shows the polled scale-down back to a single replica, together with the timestamps T1, T2 and T3 from which the two reported durations (T2 − T1 for scale-up and T3 − T2 for scale-down) are computed.
Figure 3. Horizontal scaling measurement procedure showing the scale-up (1 to 10 instances) and scale-down (10 to 1 instance) timing methodology. Measured variables: the scale-up duration T2 − T1, where T1 is the millisecond timestamp taken immediately before the replica change and T2 the instant at which all ten pods report Ready, and the scale-down duration T3 − T2, where T3 is the instant at which the observed pod count returns to one. Iterations: n = 10 per framework and per direction, with no outlier filtering. Sampling cycle: the ready-replica count is polled every 100 ms during scale-down, which bounds the resolution of the reported scale-down times; readiness of each replica is detected by the same probe configuration as in Figure 2 (initialDelaySeconds = 0, periodSeconds = 10, failureThreshold = 3), and the readiness timeout is 300 s. Fixed parameters: images pre-pulled, replica target 1 → 10 → 1, and an unchanged resource profile.

3.3.5. Resource Behavior Under Moderate Load

To assess whether the low idle footprints and fast startup reported in this study come at the cost of runtime performance, a complementary iso-load test was conducted. Each framework received an identical fixed request rate of 100 requests per second, generated by k6 using the constant-arrival-rate executor; this open workload model dispatches requests at a fixed rate regardless of response times and therefore avoids coordinated omission. The first 60 s were treated as warm-up and discarded; all statistics derive from the subsequent 180 s steady-state window. Requests targeted an I/O endpoint that retrieves a single row from PostgreSQL by primary key, with the identifier drawn uniformly at random from the 1000 seeded rows to defeat result caching, and returns the entity serialized as JSON. Traffic was routed through the NGINX ingress, keeping the observation path external to the application in line with the technology-agnostic methodology of Section 3.1. Memory and CPU were collected over the measured window using the cAdvisor metrics defined in Section 3.3.3, and latency percentiles were recorded client-side by k6. Each framework ran as a single replica under the standard resource profile, with one measured window per framework. This is a single observation per configuration, so no dispersion is reported and none can be computed from it, which is the principal limitation of this test and the reason it is presented as a validity check rather than as a performance result. It also stands in deliberate contrast to the startup and scaling measurements, which are reported over ten iterations with their standard deviations. The measurements were repeated three times for each framework, with the configurations presented in randomized order so that any drift in node state over the course of a session enters as noise rather than as a systematic advantage to whichever framework is measured first, and the mean together with the standard deviation and the observed range were reported. This test is a validity check of the idle-state results rather than a throughput benchmark: the rate is deliberately moderate, and comprehensive request-level performance evaluation remains outside the scope of this study.

3.3.6. Multi-Gradient Load Robustness Test

The iso-load test of Section 3.3.5 establishes that the idle-state ordering survives a single moderate load point, but a single point cannot establish that the ordering is stable across load regimes or across workload types. A multi-gradient robustness test therefore extends the evaluation along two axes. The load axis comprises four gradients of 100, 500, 1000, and 2000 requests per second, generated by k6 with the constant-arrival-rate executor so that the workload model remains open and coordinated omission is avoided at every gradient. Request rate and per-request work are varied inversely—300,000, 60,000, 30,000 and 15,000 iterations of the numerical kernel at the four rates respectively—so that the aggregate computational load is held constant at 30 million iterations per second throughout. This separates the per-request cost of the HTTP and runtime stack from raw compute throughput, which is the quantity of interest. The workload axis comprises four endpoint classes exercised independently: the no-operation endpoint of Section 3.2, which isolates HTTP stack cost; a compute-bound endpoint performing a fixed-iteration numerical kernel sized to approximately five milliseconds of single-core work, which stresses just-in-time versus ahead-of-time code quality and exposes garbage-collector pressure; an I/O-bound endpoint issuing a primary-key read against PostgreSQL with the identifier drawn uniformly from the seeded rows, which stresses connection-pool and driver behavior under concurrency; and a long-lived-connection scenario holding one thousand concurrent keep-alive connections at a low per-connection request rate, which stresses per-connection memory and event-loop scalability. Each resulting cell is measured over a 180 s steady-state window following a discarded 60 s warm-up, under the unchanged 1 GiB and one-vCPU profile with a single replica, with memory and CPU collected through the cAdvisor metrics of Section 3.3.3 and latency percentiles recorded client-side. Traffic is routed through the NGINX ingress so that the observation path remains external to the application, consistent with Section 3.1.
The robustness criterion is stated in advance so that the test is confirmatory rather than exploratory. The conclusions of Section 4 are considered stable if the rank ordering of working-set memory across the three runtime categories is preserved at every gradient and for every endpoint class, and if no configuration exhibits an error rate above one per cent or a p99 latency inflection indicating saturation below the highest gradient at which all configurations still sustain the target rate. Because saturation is expected to occur at different gradients for different configurations, results are reported per gradient and cross-framework comparisons are treated as valid only up to the highest gradient at which every configuration sustains the full target rate; beyond that gradient the configurations are described individually rather than ranked.

3.3.7. Long-Lived Connection Scaling

The connection-scaling measurement holds a fixed population of HTTP keep-alive connections open against the no-operation endpoint and measures the resulting container working set. Because the endpoint performs no I/O and no computation, established connection state is the only variable, and the quantity the measurement yields is the marginal memory cost of a connection. The sweep covers 0, 100, 500, 1000 and 2000 concurrent connections, the zero level providing a within-session baseline. Connections are opened by k6 using a ramping-vus executor over a 30 s ramp followed by a 240 s hold, with the final 180 s taken as the measured window; each connection issues one request every ten seconds, which is sufficient to keep the connection alive without making request processing a material component of the measurement. The deployment is restarted before every level so that no connection-table state carries over, and a 60 s settling period precedes each measured window. Three repetitions were performed at every level for every configuration.
This arm connects directly to the pod through a dedicated NodePort service rather than through the NGINX ingress used elsewhere in this study. A keep-alive connection opened against the ingress terminates on the ingress controller, which then serves requests from its own upstream connection pool; holding 2000 client connections would therefore hold them on the controller while the application continued to observe only as many as that pool maintains, and the measured working set would be flat for reasons unrelated to the framework. The technology-agnostic principle of Section 3.1 is preserved, because the deviation concerns the routing path rather than the measurement path: all reported values remain container-level cAdvisor metrics, no application-level instrumentation is introduced, and every configuration is reached in the identical manner.
Two validity checks accompany the sweep. The client-side connection-establishment time is recorded over the measured window and should be approximately zero if connections are being reused rather than re-established; a materially non-zero mean invalidates the level. The zero-connection baseline is compared against the idle footprint of Section 4.3, which detects any difference between measurement sessions. The load generator is pinned to processor cores disjoint from those available to the pod so that generator overhead does not enter the measurement.

3.4. Test Environment

All experiments were conducted on a single physical machine running a bare-metal K3s Kubernetes cluster. This co-located configuration eliminates network variability while accepting the trade-off of not replicating distributed deployment conditions, which is acceptable for relative comparison of static metrics inherently local to each pod. Deployments on managed public cloud services such as AWS EKS or Google GKE may exhibit metric variations due to the noisy neighbor effect, hypervisor-level virtualization overhead, and provider-specific resource throttling policies not present in bare-metal environments.
The test machine features an AMD Ryzen 9 9950X3D processor (16 cores, 32 threads, 144 MiB L3 cache), 64 GB DDR5 RAM, and a 2 TB NVMe SSD. All framework source code, Kubernetes deployment manifests, K3s cluster configurations, and measurement scripts are publicly available (see Data Availability Statement); this transparency enables full reproduction of the reported measurements on equivalent hardware.
All JVM-based frameworks were executed with identical, default runtime settings: no explicit heap or garbage-collector flags were supplied, so the container-aware ergonomics of JDK 21 sized the heap relative to the 1 GiB container memory limit and selected the collector automatically; under a single-CPU limit, HotSpot ergonomics select the Serial collector. GraalVM Native image binaries were built with the default Serial GC. No framework-specific tuning was applied, ensuring that the measurements reflect out-of-the-box behavior. All eight configurations implemented an equivalent dependency set, an HTTP server, a Kafka client, and a PostgreSQL driver (listed with their exact versions in Table A2 in Appendix B) and exposed an identical Noop endpoint, with database connection pools configured for eager initialization in all frameworks, ensuring comparable initialization work across frameworks.
With respect to the operating system, all measurements were performed on Fedora Workstation 42 using cgroups v2. The operating system influences the absolute values of several reported metrics: container creation and startup latency depend on the kernel’s cgroup and namespace management paths, memory metrics follow cgroups v2 accounting semantics as exposed by cAdvisor, and page-cache behavior determines how file-backed memory is attributed to the working set. Because every framework ran on the same kernel, container runtime, and filesystem, these effects are constant across all evaluated configurations and do not affect the relative comparison; absolute values may, however, differ on other distributions, kernel versions, or cgroup configurations, as discussed in Section 5.5.

3.5. Statistical Analysis and Measurement Resolution

All repeated measurements, ten cold starts per configuration for startup and ten iterations per configuration and direction for scaling, are reported as mean and standard deviation, together with the 95% confidence interval of the mean for startup. The three measurement arms added in Section 4.6, Section 4.7 and Section 4.8 follow the same convention at their own repetition count: every cell of Section 4.7, Section 4.8, Section 5.2 and Section 5.3 is the mean of three independent repetitions and is reported with one standard deviation, and the per-connection gradients of Section 4.8 are reported with the standard error of the fitted slope. With three repetitions the standard deviation is itself imprecisely estimated, so it is used to indicate the run-to-run spread rather than to support interval-based inference, and no confidence intervals are quoted for these arms. No outlier filtering is applied, so every run contributes to the reported statistics, with the single exception recorded in Section 4.6, where one repetition that breached its error threshold is excluded and identified. Two interpretation rules follow from the measurement design and are applied consistently in Section 4 and Section 5. First, startup observations are recorded at millisecond resolution, so the binding constraint on interpretation is dispersion rather than quantization: differences between configurations whose 95% confidence intervals overlap are explicitly treated as unresolved rather than interpreted as effects. Second, cross-category claims (JVM versus GraalVM Native versus Rust) rest on differences that are large relative to the observed run-to-run dispersion, typically several standard deviations. These conclusions do not depend on distributional assumptions or on formal significance testing. Scale-down times are measured with millisecond-precision timestamps and a 100 ms polling interval on the deployment’s ready-replica count, which bounds their interpretation accordingly. Millisecond timestamps do not confer millisecond resolution here, because the quantity being timed is detected by the polling loop; the observed range of 0.085 s to 0.269 s spans approximately one to two polling intervals, so the values are resolved only to that granularity. Scale-down is accordingly treated throughout as completing within the first poll, and no configuration is ranked on this metric. This conservative treatment deliberately refrains from ranking configurations whose differences the measurement instrument cannot resolve. A further consequence of this design is that the reported figures are time-averaged rather than time-resolved: a one-minute rate window and a periodic scrape interval deliberately suppress the subsecond transients that occur during class loading, heap expansion, UPX decompression, and readiness probing. The measurement-instrumentation literature provides established techniques for recovering precisely such transients from sampled telemetry, including time–frequency embedded feature extraction for incipient, short-lived events [18] and multi-scale temporal decomposition of non-stationary signals [19]. Applying these techniques to high-frequency container telemetry would resolve the initialization transient that the present averaging window integrates away; this is identified as an indicator-supplementation direction in Section 6.

4. Results

This section presents the empirical measurements collected for all evaluated framework configurations. Results are organized by metric category: container image size, startup time, idle resource consumption, and horizontal scaling behavior.

4.1. Container Image Sizes

Table 3 reports the total size of the final production image for each of the fourteen measured configurations, ordered from largest to smallest and grouped by runtime category. The ordering makes the three-tier structure of the results directly readable: a tightly clustered JVM band above 300 MiB, an intermediate GraalVM Native image band, and a compressed band below 60 MiB, with Actix Web falling between the last two.
Table 3. Container image sizes of tested frameworks.
JVM-based frameworks exhibit the largest images, ranging from 300.88 MiB (Ktor) to 332.35 MiB (Spring Boot), primarily due to the Eclipse Temurin JRE 21 Alpine base layer [2] (~180 MiB). Spring Boot and Spring WebFlux differ by only 0.04 MiB, reflecting their shared ecosystem. Quarkus JVM variants are smaller (318.02 MiB imperative; 309.04 MiB reactive) owing to build-time dead-code elimination [20], while Ktor [21] achieves the lowest JVM footprint through its minimalist dependency set.
GraalVM Native image variants achieve substantial reductions through ahead-of-time compilation [4]. Standard variants (217.59 MiB/211.88 MiB) use UBI Minimal base images; micro variants reduce this to 137.53 MiB/131.81 MiB by including only execution-essential libraries. UPX-compressed variants achieve the smallest sizes (54.82–57.25 MiB) at an approximate 2.5:1 compression ratio. Distroless images, which remove the shell entirely, differ from micro images by less than 1 MiB, confirming that executable compression dominates size reduction.
Actix Web (Rust) at 114.57 MiB falls between JVM and compressed Native images. The Rust compiler produces statically linked binaries without runtime dependencies [5], but the Debian Bookworm slim base image includes system libraries required by rdkafka. The ratio between the largest (Spring Boot, 332.35 MiB) and smallest (Quarkus Reactive Distroless-Compressed, 54.82 MiB) images is 6.06:1, with direct implications for image transfer times and container registry storage costs in environments with frequent scaling [8]. As discussed in Section 2.4, this ratio bounds rather than measures the transfer advantage, because it is computed from uncompressed sizes and ignores the base layers shared across the JVM images.
Finding 1 (related to the image size and RQ2 baseline): Compilation strategy, not framework choice, is the dominant determinant of container image size. The runtime category explains the three-tier structure of Table 3, while differences within each tier remain comparatively small. The smallest images are produced precisely by the UPX-compressed variants whose runtime behavior Section 4.3 and Section 5 examine.

4.2. Startup Time

Table 4 reports startup latency for every configuration over ten cold starts. Two intervals are reported because they answer different questions. Application readiness is the interval from the scale command to the first HTTP 200 returned by the application, that is, the point at which the service can actually serve traffic; it is independent of how the readiness probe is configured and is used here as the primary measure. Pod readiness is the interval from the same origin to the Ready condition on the pod object, which is the quantity the orchestrator acts on when it admits traffic and when it counts replicas during scaling. Both are timed at millisecond resolution, so the discreteness that the one-second condition timestamps imposed on the earlier protocol no longer applies. Reporting the dispersion alongside the mean remains essential: the gap between the fastest Native variants and the Spring configurations is several times the observed run-to-run spread, whereas most differences inside the GraalVM Native group fall inside overlapping confidence intervals and are not resolved by ten runs.
Table 4. Startup latency of the tested framework configurations, ten cold starts per configuration (n = 10). Application ready is the interval from the scale command to the first HTTP 200 returned by the application; pod ready is the interval from the same origin to the Ready condition on the pod object. Both are wall-clock intervals recorded at millisecond resolution from a client-side watch stream and health-endpoint poll, with the container image already present on the node. The confidence interval is that of the mean application-ready time. Rows are ordered by mean application-ready time.
GraalVM Native variants occupy the fastest part of the range, from 1.732 s for Quarkus Reactive Native-Micro to 2.929 s for Quarkus Native, and ahead-of-time compilation, which removes JIT warm-up and much of class loading, is consistent with that position [4]. The ordering inside the Native group is not resolved by this measurement. The 95% confidence intervals of all nine Native configurations overlap, and their standard deviations, between 0.189 s and 1.562 s, are of the same order as the differences between group members. In particular, the earlier observation that standard Native images start about twice as fast as the micro variants is not reproduced at millisecond resolution: the micro variants are now nominally the faster of each pair (1.732 s against 2.116 s in the reactive pair and 2.555 s against 2.929 s in the imperative pair), but neither direction is supported once the intervals are taken into account, and no ordering within the group is claimed.
UPX-compressed variants span 1.781 s to 2.906 s and show no consistent startup penalty relative to uncompressed variants. In the two directly matched pairs the difference changes sign and is small in both cases: 2.480 s for Quarkus Native-Micro-Compressed against 2.555 s for the uncompressed micro image, and 1.781 s for Quarkus Reactive Native-Micro-Compressed against 1.732 s for its uncompressed counterpart. Both differences are far smaller than the width of the confidence intervals of the configurations involved. In-memory decompression therefore does not contribute a measurable share of pod initialization time, and the cost of compression manifests in runtime memory footprint (Section 4.3) rather than in startup latency.
Actix Web reaches application readiness in 2.998 s, within the band occupied by the imperative Native variants rather than ahead of them; its confidence interval, 2.319 to 3.677 s, overlaps those of Quarkus Native and Quarkus Native-Micro, so the measurement does not separate them. Tokio executor and Kafka producer initialization, both of which the readiness endpoint verifies, dominate this interval. JVM configurations range from 2.850 s for Quarkus Reactive JVM to 5.743 s for Spring WebFlux, with Quarkus JVM at 3.577 s, Ktor [22] at 4.280 s and Spring Boot at 5.512 s, where extensive autoconfiguration and runtime component scanning account for the slowest values [2]. The gap between Quarkus and Spring within the same JVM runtime is architectural rather than incidental: Quarkus resolves framework metadata at build time, when the dependency injection graph, endpoint registrations, and configuration model are computed during compilation and recorded as pre-initialized bytecode, so that at startup the application avoids the runtime classpath scanning, annotation processing, and reflection-driven bean discovery that Spring performs on every launch [18]. According to these data, architectural difference is worth a factor of 1.54 between Quarkus JVM and Spring Boot, which is larger than the factor of 1.22 separating Quarkus JVM from Quarkus Native. Within the range covered here the framework family therefore accounts for more of the observed startup spread than the compilation target does, which qualifies the startup component of H1 without reversing its direction.
Three qualifications apply to the interpretation of these values. First, both reported intervals are times to readiness rather than pure application startup: each encompasses container start, framework initialization, client-library initialization, and verification of PostgreSQL and Kafka connectivity by the readiness health check, and neither should be read as a “Hello World” startup latency. Second, all framework configurations initialize their database connection pools eagerly during startup, so the readiness signal reflects an application with established infrastructure connections rather than one that defers connection establishment to the first request; this uniform configuration ensures that the reported times are directly comparable across frameworks. Third, the two intervals diverge for exactly those configurations whose application-ready time is longest. For eleven of the fourteen configurations the pod-ready time exceeds the application-ready time by less than 0.4 s, whereas for Ktor, Spring Boot and Spring WebFlux the difference is 7.4 s, 7.7 s and 7.9 s, respectively. This is a property of the readiness probe rather than of the application: with periodSeconds = 10 and initialDelaySeconds = 0, an application that becomes ready shortly after a probe attempt is not observed as Ready until the next attempt, up to ten seconds later. The application-ready column is therefore the appropriate basis for comparing frameworks, and the pod-ready column is reported because it is the quantity on which the orchestrator acts.
One cross-table comparison requires care. The scale-up times in Section 4.4 are shorter than the cold-start times in Table 4 for the same configurations, which is not an inconsistency because the two measurements begin from different states: each cold-start iteration follows a full deletion of the deployment and a wait for resource release, whereas a scale-up adds replicas to a deployment that already has a running pod on the same node. The two figures should accordingly be read as the cost of provisioning capacity from nothing and the cost of adding capacity to a running deployment, respectively; only the ordering across frameworks is common to both, and the contribution of node warm-up to the difference is not isolated by the present design.
Finding 2 (related to the startup and H1): The advantage of GraalVM Native compilation over the JVM within the same framework is a factor of 1.2 to 1.7. The largest startup separation in the data lies between framework families rather than between compilation targets: the fastest Native configuration (1.732 s) and the slowest JVM configuration (5.743 s) differ by a factor of 3.3, while Quarkus JVM is 1.54 times faster than Spring Boot on the same runtime.

4.3. Memory Footprint and Idle CPU Usage

Table 5 reports the idle working-set memory and the idle CPU utilization of every configuration, ordered by memory consumption. Presenting both metrics in a single table is deliberate, because they rank the frameworks in almost opposite orders: the UPX-compressed GraalVM Native variants that consume the most memory is also among the lowest CPU consumers, a divergence analyzed in Section 5.2.
Table 5. Idle memory footprint and CPU usage of tested frameworks.
Actix Web demonstrates exceptional memory efficiency at 2.95 MiB, reflecting Rust’s garbage-collector-free memory model where allocations are statically analyzed at compile time [5,6]. Uncompressed GraalVM Native images range from 67.30 MiB to 115.00 MiB, significantly lower than their JVM counterparts (98.00–204.00 MiB). The two ranges overlap, and the comparison does not hold for every framework-matched pair: Quarkus Reactive Native (115.00 MiB) exceeds Quarkus Reactive JVM (98.00 MiB), so the advantage of ahead-of-time compilation on idle memory depends on the base-image variant and is not a property of Native compilation as such. Spring Boot’s 204.00 MiB footprint results from its extensive dependency injection container, AOP proxies, and Tomcat servlet infrastructure [2]. One qualification applies to the two uncompressed Native rows and is developed in Section 4.7. The values in this table describe a settled process: the measurement follows the readiness probe and the initialization traffic it generates. The connection-scaling arm measures the same two configurations at 19.03 and 21.36 MiB before any client connects, and the compute-bound and I/O-bound arms place them at 54 to 63 MiB at their lightest load. The three figures are therefore not in conflict but describe a cold process, a process that has just been activated and a process under sustained load; a Native binary expands its heap on first traffic, and the idle figure quoted here is the post-activation one. The nearly 78:1 ratio between the lowest and highest values (Actix Web vs. Quarkus Distroless-Compressed) underscores the range of baseline costs across runtime models.
Given that a footprint below 3 MiB is unusually low for a containerized service embedding a Tokio runtime and a Kafka client, this result was verified against complementary metrics across ten repeated cold deployments. The working set remained stable at 2.04 ± 0.01 MiB, container_memory_rss, which under cgroups v2 accounts anonymous memory only, reported 1.55 MiB, and the cgroup-level total (container_memory_usage_bytes) 2.04 MiB, while the proportional set size (PSS) obtained from/proc/[pid]/smaps_rollup was 9.7 ± 0.1 MiB. The roughly 8 MiB difference between PSS and anonymous memory corresponds to the file-backed pages of the executable and system libraries, which the kernel attributes to reclaimable page cache rather than to the container’s working set. The application’s own allocations are minimal because Rust pre-allocates no garbage-collected heap and the rdkafka producer defers most buffer allocation until first use, which the idle Noop workload does not trigger. Even by the most conservative metric (PSS), the resident footprint of Actix Web remains an order of magnitude below every other evaluated configuration; the verified working-set value (2.04 MiB) is slightly below the 2.95 MiB recorded in the primary measurement campaign (Table 5), consistent with normal variation in page-cache attribution between runs. Because three different figures for the same service appear in this discussion, their relationship is stated explicitly. They are not interchangeable and each answers a different question: 2.95 MiB is the working set recorded in the primary campaign and is the value carried into Table 5 and into the density analysis of Section 5.3, so that Actix Web is compared with every other framework on the identical metric; 2.04 MiB is the working set recorded in the separate verification campaign, and the difference between the two reflects run-to-run variation in page-cache attribution rather than a change in the application; and 9.7 MiB is the proportional set size, which additionally charges the process a share of the file-backed pages of its executable and system libraries that the working set excludes. Ratios therefore depend on the basis chosen: against Spring Boot the ratio is 69:1 on the primary working-set basis, 100:1 on the verification working-set basis, and 21:1 on the proportional-set-size basis. The last is the most conservative and is the figure that should be used where a comparison must survive the strictest accounting. The ordering of the frameworks is unchanged under all three bases.
Compressed GraalVM Native variants paradoxically exhibit the highest memory footprints (215.20–229.00 MiB) despite having the smallest container images. UPX decompression requires the entire executable to be inflated into RAM, with memory fragmentation and intermediate decompression buffers inflating working-set memory beyond even JVM baseline values. This trade-off is critical: compressed variants reduce storage and transfer costs but increase runtime memory requirements.
Idle CPU consumption is uniformly low across all frameworks (0.0011–0.0075 cores). GraalVM Native images show the lowest values (0.0011–0.0018 cores) due to the absence of JIT compilation and minimal garbage collector activity [3,4]. JVM frameworks consume 0.0035–0.0075 cores from periodic GC checks, JIT background threads, and JMX maintenance. Actix Web at 0.0069 cores shows relatively high idle CPU for a Native application, attributable to Tokio’s active epoll event-loop monitoring.
Finding 3 (related to memory footprints and H1–H3): The idle-memory ordering supports H2 (Actix Web is lowest at 2.95 MiB) and, for most variants, the memory component of H1. It also confirms the runtime half of H3 that states that the smallest container images coincide with the largest memory footprints. The mechanism behind this inversion is verified at the kernel level in Section 5.

4.4. Scaling Characteristics

Table 6 reports the mean scale-up and scale-down times of every configuration over ten iterations, followed by category averages in which each category’s scale-up cost is expressed as a ratio against the Actix Web baseline. The two directions differ by more than an order of magnitude: scale-up spans 1.8–3.9 s and separates the frameworks clearly, whereas scale-down is compressed into a 0.10–0.17 s band in which no framework effect is discernible.
Table 6. Horizontal scaling times of tested frameworks. The final four rows give the category averages, with scale-up expressed as a ratio against the Actix Web baseline. Scale-up durations are resolved by the measurement; scale-down durations are bounded below by the 100 ms interval at which the ready-replica count is polled, span only one to two such intervals, and are reported for completeness rather than as a basis for ranking.
Actix Web (1.814 ± 0.148 s) and nine of the ten Quarkus variants (1.818–2.129 s) form the fastest scale-up group, while Quarkus Reactive JVM (3.055 s), Ktor (3.204 s), Spring WebFlux (3.621 s), and Spring Boot (3.891 s) require substantially longer. Because Kubernetes launches all replicas in parallel, aggregate scale-up latency is governed by the slowest individual pod together with readiness-probe detection, so frameworks with longer individual startup pay a proportional, although compressed, penalty [18]. Scale-down behavior is effectively uniform: all fourteen configurations completed in 0.096–0.173 s, indicating that termination cost is dominated by Kubernetes pod deletion handling rather than by framework-specific shutdown logic. These figures should not be read as resolved subsecond durations. They are bounded below by the 100 ms cadence of the polling loop that detects the return to a single ready replica, and the whole observed range spans only one to two such intervals, so the supported conclusion is that the measurement cannot distinguish among the configurations, which is precisely the absence of a framework effect reported here.
Actix Web records the fastest scale-up overall (1.814 s), consistent with its lightweight runtime initialization. Spring Boot and Spring WebFlux record the longest scale-up times (3.891 s and 3.621 s), a direct consequence of their per-instance startup latency dominating the parallel provisioning window; Quarkus Reactive JVM (3.055 s) departs from the other Quarkus variants for a different reason: its mean application-ready time (2.850 s, Table 4) is unexceptional, but it shows by far the largest pod-ready dispersion of the group (SD 3.121 s, Table 4), and aggregate scale-up is bounded by the slowest of the ten pods. No framework exhibited problematic scale-down behavior: even the slowest configuration terminated ten replicas within 0.18 s. The final four rows of Table 6 aggregate these per-configuration measurements into framework families and express each category’s scale-up cost as a ratio against the Actix Web baseline, confirming that the grouping follows the framework family rather than the compilation target: all ten Quarkus variants average 2.063 s whether they run on the JVM or as Native binaries, against 3.756 s for the Spring family. Read together with the startup and idle-memory values in Table 4 and Table 5, these figures identify the three trade-off profiles analyzed in Section 5.2: the UPX-compressed Native variants combine a startup time indistinguishable from that of their uncompressed counterparts with the highest memory footprint, the uncompressed Native variants sit between the extremes on both dimensions, and Actix Web combines the lowest memory footprint with a startup time in the middle of the range.
The roughly 2:1 ratio between Spring and Quarkus or Actix Web scale-up times carries operational implications for Kubernetes Horizontal Pod Autoscaler (HPA) scenarios. During sudden traffic spikes, Spring applications require approximately 3.8 s to provision additional capacity versus 1.8–2.1 s for Quarkus and Actix Web, a delay that can contribute to service degradation and SLA violations in latency-sensitive systems. The gap is considerably smaller than per-instance startup differences alone would suggest, because parallel replica provisioning amortizes individual startup latency.
Finding 4 (related to scaling and H4): Scale-up latency groups by per-instance startup rather than by compilation target so H4 is only partially supported. Nine of the Quarkus variants are uniformly fast, but Quarkus Reactive JVM is not, and Actix Web matches the fastest Quarkus variants. Startup and readiness detection, not framework-exclusive lifecycle optimizations, govern scaling responsiveness.

4.5. Resource Behavior Under Moderate Load

Table 7 summarizes resource consumption and latency at the fixed 100-requests-per-second load. All eight configurations sustained the full target rate with zero errors, and the idle-state memory ordering persists under load: Actix Web remains the most economical (9.2 MiB mean working set), followed by the Quarkus Native variants (47–50 MiB), the remaining JVM frameworks (141–168 MiB), and the Spring family (238–252 MiB). CPU cost mirrors the same grouping, with 0.016–0.019 cores for the Rust and Native binaries versus 0.035–0.075 cores for the JVM frameworks, reflecting the absence of JIT compilation and garbage-collection activity. Because these measurements stem from a separate measurement session, absolute values are not directly comparable to the idle figures in Table 5; the relative ordering, however, matches the idle-state ordering exactly. Because each configuration contributes a single measured window, the values in Table 7 carry no estimate of their own variability, and the differences between configurations should be read as indicative rather than as established; the latency bands in particular are narrow enough that repeated measurement could reorder configurations within a band. The I/O-bound arm of Section 4.8 measures the same 100-requests-per-second operating point with three repetitions, and provides the replication that Table 7 lacks. Resource consumption agrees closely between the two: working set differs by at most ten per cent for every configuration (9.9 against 9.2 MiB for Actix Web, 175.1 against 168.2 MiB for Ktor, 241.2 against 251.7 MiB for Spring WebFlux) and processor consumption agrees to a similar tolerance. Median latency, however, differs by an order of magnitude, at 0.40 to 0.69 ms in Section 4.8 against 5.50 to 10.71 ms in Table 7. The two measurements therefore do not exercise the same request path, and Table 7 should be read as characterizing the heavier endpoint described in Section 3.3.5 rather than as directly comparable with Section 4.8.
Table 7. Resource consumption and latency under a fixed 100-requests-per-second iso-load (180 s measured window, single replica). All configurations sustained the full target rate with a zero-error rate.
Latency clustered into two narrow bands: Actix Web, Ktor, and Spring Boot completed requests with medians of 5.5–5.6 ms (p99 no greater than 6.2 ms), while all Quarkus variants and Spring WebFlux exhibited medians of approximately 10.5–10.7 ms (p99 no greater than 11.8 ms). The grouping follows neither the runtime (JVM versus Native) nor the programming model alone, suggesting that database driver and connection-pool behavior, rather than the HTTP stack, dominates single-request latency at this moderate rate; a detailed request-level analysis is the subject of separate work. The narrow p50–p99 spreads, below 1.3 ms for every framework, indicate stable behavior with no saturation at this rate.
These results support the interpretation of the static measurements: the low idle footprints and fast startup of the Native and Rust configurations do not come at the cost of degraded behavior under moderate request-level load, and the deployment-density reasoning of Section 5.3 therefore carries over qualitatively to loaded services.
Finding 5 (related to validity check): The persistence of the idle-state resources ordering under a fixed moderate load supports reading the static measurements as lower-bound but directionally reliable estimates of deployment-facing cost.

4.6. Robustness Across Load Gradients and Workload Types

Table 8 reports median latency and Table 9 the mean container working set across the four compute-bound gradients defined in Section 3.3.6, in which aggregate computational work is held constant while request rate and per-request work vary inversely. Values are means over three repetitions; runs that failed their error threshold are excluded and discussed separately below.
Table 8. Median request latency under compute-bound load at constant aggregate work (30 million kernel iterations per second at every gradient). Four repetitions are excluded for exceeding the one per cent error threshold of Section 3.3.6—Ktor at 100, 500 and 2000 requests per second and Actix Web at 1000—so those cells rest on two repetitions rather than three; the same applies to the Quarkus JVM working set at 100 requests per second, for which the Prometheus query returned no value. Values are milliseconds, reported as the mean of three repetitions ± one standard deviation.
Table 9. Mean container working set under compute-bound load. Values are mebibytes, reported as the mean of three repetitions ± one standard deviation.
Compilation strategy separates the configurations more clearly here than in any other measurement in this study, and it does so in the direction opposite to the startup and idle-memory results. The two GraalVM Native variants are the slowest at every gradient, requiring 5.55 ms and 5.54 ms against 5.02 ms for Quarkus JVM at the heaviest per-request work, a penalty of approximately ten per cent that persists undiminished across the whole range. Because the framework is held constant within each Quarkus pair and only the compilation target differs, this isolates the effect of ahead-of-time compilation from every other variable. The result substantiates, on the present stack, the just-in-time throughput advantage that Section 5.2 previously supported only by reference to prior work.
The memory ordering under compute load inverts the latency ordering, which is the substance of the trade-off. The Native variants not only consume the least memory of the Java-based configurations but consume progressively less as the gradient rises, falling from approximately 63 MiB to 24–29 MiB, whereas the JVM variants rise modestly and Spring Boot nearly doubles, from 193.9 MiB to 379.1 MiB. Actix Web remains an order of magnitude below every Java-based configuration throughout, between 8.7 MiB and 10.4 MiB. Taken together with Table 8, ahead-of-time compilation costs approximately ten per cent of compute latency and returns roughly a fivefold reduction in working set under sustained compute load.
Two qualifications apply. No configuration approached its resource ceiling: processor utilization remained between 0.18 and 0.53 cores against a one-core limit at every gradient, so this arm characterizes efficiency rather than capacity, and the saturation criterion of Section 3.3.6 was never exercised. Reaching saturation would require raising the aggregate work above 30 million iterations per second rather than raising the request rate. Separately, Ktor returned second-scale tail latencies at every gradient and error rates of 46.7 per cent at the lowest gradient and 13.6 per cent at the second; because an error rate of that magnitude at the lightest load is not a load effect, these observations are reported as requiring investigation rather than interpreted as a property of the framework, and the Ktor row of Table 8 should be read accordingly.

4.7. Long-Lived Connection Scaling

Table 10 reports the mean container working set at each connection level, and Table 11 the per-connection cost obtained by fitting an ordinary least-squares line to all fifteen observations of each configuration—the five connection levels of 0, 100, 500, 1000 and 2000 held connections, each measured three times, as specified in Section 3.3.7. The fit is performed on the individual observations rather than on the five level means, which is why the table of means alone does not reproduce the gradients reported here. The individual observations are listed in Table A3. Reporting the gradient rather than a set of absolute values is deliberate: the gradient is the quantity that transfers to deployment planning, because it states what an additional established connection costs independently of the footprint the service carries before any client arrives.
Table 10. Mean container working set, in mebibytes, against the number of held keep-alive connections. Every configuration was measured three times at every level; values are the mean of those three repetitions ± one standard deviation, and the repetition count is repeated in the final column.
Table 11. Per-connection memory cost, fitted baseline and goodness of fit, with the idle footprint of Table 5 given for comparison. Each fit is an ordinary least-squares line through the fifteen individual observations of the configuration (five connection levels × three repetitions); the gradient is given ± its standard error.
The central result is that the per-connection ordering is not the idle-memory ordering. Quarkus Reactive JVM carries the lowest marginal cost at 9.9 ± 0.9 KiB per connection despite a baseline near 115 MiB. Quarkus JVM, Spring WebFlux and the two GraalVM Native variants form a band between 13.9 and 14.6 KiB that the measurement cannot separate, although the two Native gradients carry standard errors near 6 KiB and are treated separately below. Actix Web—which wins the idle comparison of Table 5 by a factor of forty—ranks sixth at 20.0 ± 0.2 KiB. Spring Boot is the most expensive at 41.4 KiB per connection, four times the Quarkus Reactive JVM figure. A framework that is economical at rest is therefore not necessarily economical as connections accumulate, and the two costs must be planned for separately.
Combining baseline and gradient gives the connection count at which one configuration ceases to be cheaper than another. Against Quarkus Reactive JVM, the closest competitor on marginal cost, Actix Web remains the more economical choice up to approximately 11,200 concurrent connections; against Quarkus JVM the crossover lies near 18,700 and against Spring WebFlux near 33,600; and against Ktor and Spring Boot no crossover exists, because Actix Web is cheaper on both terms. Since these thresholds lie far above the connection counts, a single pod would be expected to serve under the resource profile evaluated here; the memory advantage of the Rust configuration does not merely survive connection load but persists across the whole practically relevant range. This extends the idle-state finding of Section 4.3 to a loaded service, which the idle measurement alone cannot support.
Two validity checks accompany these values. Connection-establishment time over the measured window was 0.000 ms for every configuration and level, rising to 0.001 ms only for Spring Boot and Ktor, confirming that connections were reused rather than re-established and that the measurement reflects held connection state. The zero-connection baselines reproduce the idle footprints of Table 5 to within 1.3 per cent for Ktor but diverge by between 7.7 and 15.9 per cent below for Spring WebFlux, Quarkus JVM and Spring Boot, and lie 35.9 per cent above for Actix Web. The three Quarkus configurations added to this arm diverge further: Quarkus Reactive JVM records 115.51 MiB against 98.00 MiB in Table 5, 17.9 per cent above, while Quarkus Native and Quarkus Reactive Native record 19.03 and 21.36 MiB against 70.10 and 115.00 MiB, 73 and 81 per cent below. A divergence of that magnitude is larger than any plausible run-to-run difference and indicates that the two Native idle figures of Table 5 and the zero-connection baselines measured here do not describe the same state of the process. The zero-connection level of this arm samples the pod before any client has connected, whereas Table 5 samples it after readiness probing and the initialization traffic that accompanies it; the compute-bound and I/O-bound arms, which place the same two configurations at 54 to 63 MiB at their lightest load, fall between the two and support that reading. For a Native binary that expands its heap on first traffic the distinction is material, and the fitted baselines of Table 11 are used in this section for that reason. This quantifies the cross-session comparability limitation that Section 4.5 already acknowledges, and the fitted baselines rather than the Table 5 values should be used when reasoning about the gradients reported here.
Ktor exhibited tail latencies between 1065 ms and 3518 ms at the 500- and 1000-connection levels, together with a 7.6 per cent error rate in one repetition at 1000 connections, while behaving normally at 2000 connections with a p99 between 0.31 ms and 3.08 ms. A degradation that is more severe at an intermediate level than at the highest level is not characteristic of saturation, and this behavior is therefore reported as an anomaly under investigation rather than as a connection-handling limit of the framework.
The two GraalVM Native configurations do not follow the linear model that describes the others, and their entries in Table 10 must be read accordingly. Quarkus Native rises from 19.03 MiB with no connections to 58.52 MiB at one hundred, an increase of 39.5 MiB, and then remains almost unchanged across the following order of magnitude: 68.05, 65.70 and 64.31 MiB at five hundred, one thousand and two thousand connections. Quarkus Reactive Native behaves identically, with a step of 35.0 MiB followed by a response of 68.67, 64.32 and 65.39 MiB. The coefficients of determination of 0.283 and 0.319 respectively record this directly: a straight line is the wrong description, and the gradient obtained by fitting one is an artifact of the step rather than a per-connection cost.
Fitting instead from one hundred connections upward, where the activation step has already been paid, gives a gradient that cannot be distinguished from zero: 1.7 ± 1.7 KiB per connection for Quarkus Native and 2.9 ± 2.2 KiB for Quarkus Reactive Native, against 10.0 ± 1.0 KiB for Quarkus Reactive JVM fitted over the same range. Beyond the first hundred connections the two Native variants therefore carry no measurable per-connection cost at all. The interpretation is that ahead-of-time compilation shifts cost from the marginal to the fixed term: the Native variants pay a substantial one-off activation charge when traffic first arrives, consistent with lazy initialization and initial heap expansion, after which additional connections are effectively free. Quarkus Reactive JVM provides the control that isolates this to the compilation target rather than the programming model: it is linear across the whole range, with a coefficient of determination of 0.905 and a cost of 9.9 KiB per connection, close to the 13.8 KiB of the imperative Quarkus JVM variant. This is the comparison the arm was introduced to make, and it resolves in favor of ahead-of-time compilation on the marginal term.

4.8. I/O-Bound Load Gradients

Table 12 reports median latency and Table 13 the mean container working set for the I/O-bound endpoint across four request rates, each measured three times. Unlike the compute-bound and connection-scaling arms, this measurement reaches the capacity limit of two configurations, and that limit is the principal result.
Table 12. Median request latency under I/O-bound load. Values are milliseconds, reported as the mean of three repetitions ± one standard deviation. Configurations that failed to sustain the target rate are identified rather than given a value.
Table 13. Mean container working set under I/O-bound load. Values are mebibytes, reported as the mean of three repetitions ± one standard deviation.
At 2000 requests per second both Spring configurations fail, and they fail decisively rather than marginally. Spring Boot returned error rates of 69.8, 71.2 and 80.4 per cent across its three repetitions, sustained between 1323 and 1492 requests per second against the 2000 requested, and recorded 99th-percentile latencies between 13.3 and 14.5 s. Spring WebFlux failed in the same manner, with error rates near 66.5 per cent, sustained rates between 1602 and 1631, and 99th-percentile latencies between 12.4 and 14.2 s. Every other configuration sustained the full 2000 requests per second with a zero-error rate in all three repetitions. The failure is reproducible across repetitions and confined to a single framework family, so it constitutes a genuine capacity limit rather than a transient. This is the only point in the present study at which any configuration reached saturation, and it establishes that the infrastructure-cost ordering reported elsewhere is accompanied by a capacity ordering that becomes decisive under I/O-bound load.
Below saturation, the memory ordering of Section 4.3 is preserved and its spread widens with load. At the highest sustained rate, Actix Web occupies 15.1 MiB against 23.9 MiB and 38.3 MiB for the two Native Quarkus variants, 172.6 MiB and 293.7 MiB for the two JVM Quarkus variants and 400.6 MiB for Ktor. The Native variants show a non-monotonic response, with the 100-requests-per-second window higher than the 500 window, which is most plausibly the heap not yet having settled after the restart that precedes each level rather than a load effect; this level should be repeated with a longer settling period.
Processor consumption inverts the ordering observed under compute-bound load. At 2000 requests per second the Native variants consume 0.227 and 0.266 cores against 0.125 and 0.126 for their JVM counterparts, whereas under compute-bound load Section 4.6 found the Native variants slower in latency terms but markedly more economical in working set. The two observations are consistent with each other: on a hot I/O path the just-in-time compiler has both the profile information and the opportunity to specialize code that an ahead-of-time compiler must handle with static assumptions, which is the same mechanism discussed in Section 5.2.

5. Discussion

This section first confronts the empirical results of Section 4 with the research hypotheses formulated in Section 1, then interprets the key trade-offs among the evaluated runtime environments, examines practical deployment implications, and acknowledges limitations of the study.

5.1. Summary of Findings Against the Research Hypotheses

The results map directly onto the four research hypotheses defined in Section 1. H1 is supported with one qualification: uncompressed GraalVM Native variants improved both start time and idle memory relative to their JVM equivalents (e.g., Quarkus Native: 2.93 s and 70.1 MiB versus 3.58 s and 132.1 MiB for Quarkus JVM, a startup ratio of 1.22 and a memory ratio of 1.88), although the standard Quarkus Reactive Native image (115.0 MiB) exceeded the idle footprint of Quarkus Reactive JVM (98.0 MiB), indicating that the memory advantage depends on the chosen base-image variant. H2 is supported: Actix Web recorded the lowest idle memory footprint of all evaluated configurations (2.95 MiB). H3 is supported: UPX compression reduced container image size by approximately 2.5:1 while increasing idle memory to 215–229 MiB, above all JVM baselines, consistent with the loss of shared page mappings analyzed in Section 5.2. H4 is only partially supported: nine of ten Quarkus variants scaled up uniformly (1.8–2.1 s) irrespective of the underlying runtime, but Quarkus Reactive JVM (3.1 s) deviated from this pattern and Actix Web matched the fastest Quarkus variants (1.8 s), indicating that scale-up latency in the evaluated environment is governed primarily by per-instance startup and readiness detection rather than by framework-exclusive lifecycle optimizations.

5.2. Interpretation of Infrastructure Trade-Offs

The results reveal that no single runtime environment optimizes all static and infrastructure metrics simultaneously. Instead, three distinct trade-off profiles emerge across the evaluated technologies, each with different implications for production deployment decisions.
The most prominent finding is the UPX compression paradox observed in GraalVM Native image variants. Compressed images achieve the smallest container sizes (54.82–57.25 MiB), yet they exhibit the highest idle memory footprints (215.20–229.00 MiB) while their startup times remain indistinguishable from those of the uncompressed Native variants. Understanding why this inversion occurs requires examining how UPX [23] interacts with the operating system’s memory management [24]. When a standard, uncompressed executable is loaded, the OS kernel maps its read-only code pages (text segment) using demand paging and can share those physical pages across multiple processes or container instances running the same binary, a mechanism known as shared page mapping or copy-on-write page sharing. Because all containers on the same node execute identical, unmodified binaries, the kernel typically satisfies most code-segment page faults from a single physical copy, keeping the per-container contribution to working-set memory low. UPX disrupts this mechanism entirely: the compressed executable is not a valid ELF binary and cannot be directly mapped by the kernel. Instead, a small UPX stub decompresses the entire payload into a freshly allocated, private anonymous memory region at startup. This region is not backed by any file on disk, so the kernel cannot share it across container instances, and it cannot be evicted under memory pressure without terminating the process. Every running container therefore holds its own full, private, in-memory copy of the decompressed executable, inflating resident working-set memory to 215–229 MiB, a figure that exceeds even JVM baseline values regardless of how many other containers share the node. An additional overhead arises from intermediate decompression buffers and memory fragmentation introduced by the UPX stub allocator. The practical implication is that UPX compression benefits only narrow deployment scenarios where image transfer time is the dominant constraint, such as geographically distributed registries with limited bandwidth, while penalizing the majority of production scenarios where images are pre-cached on cluster nodes and memory density is the binding resource.
This mechanism was verified empirically by inspecting the memory mappings of running containers via/proc/[pid]/maps and/proc/[pid]/smaps_rollup while scaling the uncompressed Quarkus Native and the UPX-compressed (Native-Micro-Compressed) variants across 1, 3, 5, and 10 replicas (Table 8). For the uncompressed binary, the executable resides in a 103.4 MiB file-backed read-only mapping; once several replicas run concurrently, 62.4 MiB of each process’s resident pages are reported as Shared_Clean, and the proportional set size (PSS) per process falls from 75.5 MiB at one replica to 32.7, 24.4, and 18.1 MiB at three, five, and ten replicas, confirming kernel-level sharing of code pages across instances. For the UPX-compressed variant, no file-backed executable mapping exists (only 1.7 MiB of system libraries): the decompressed code occupies approximately 150 MiB of private, unshareable memory reported as Private_Dirty, and PSS per process remains constant at approximately 150 MiB irrespective of replica count. Aggregate resident memory therefore grows sub-linearly with replica count for the uncompressed binary but linearly for the compressed variant, demonstrating that the memory inflation is a direct consequence of lost shared page mappings rather than a measurement artifact.
The measurements in Table 14 isolate the effect of compression at a single compression level and a single base image, which leaves two rival explanations open: that the memory inflation scales with compression aggressiveness, and that it is a property of the base image rather than of the packer. A control experiment therefore varies the two factors orthogonally. The compression factor takes four levels, namely uncompressed, UPX-best, UPX-9, and UPX-lzma, and the base-image factor takes two levels, namely the Quarkus micro image and the distroless image, giving eight variants whose memory mappings are read at one, three, five, and ten replicas by the identical procedure used for Table 14. Table 15 reports the outcome, with the rows corresponding to configurations measured in Table 14 re-measured within the same campaign so that every cell derives from one build of the images.
Table 14. Memory-mapping evidence for the UPX page-sharing mechanism, measured per process from/proc/[pid]/smaps_rollup and/proc/[pid]/maps across replica counts.
Table 15. Control experiment separating compression level from base image. Compression level is varied at a fixed base image and the base image at a fixed compression level; per-process values are read from/proc/[pid]/smaps_rollup and/proc/[pid]/maps as in Table 14.
The experiment confirms the mechanism and rejects the alternative. Across the three compression levels, at a fixed base image the per-process proportional set size varies by 0.1 MiB—140.7, 140.7 and 140.6 MiB for the micro image under --best, -9 and –lzma, respectively, and 140.8, 140.7 and 140.7 MiB for distroless—while the on-disk image size falls from 53.91 MiB to 48.69 MiB between -9 and --lzma. The falsification criterion set out in advance was a proportional set size rising with compression aggressiveness, which would have implicated the stub allocator and decompression scratch buffers; no such rise occurs. The inflation is therefore attributable to the loss of shared file-backed mappings, exactly as Section 5.2 argues, and the file-backed executable mapping records the mechanism directly: 104.8 MiB in the uncompressed variants against 1.7 MiB of system libraries in every compressed one.
The base-image factor is likewise resolved, and it resolves to nothing. At a fixed compression level the micro and distroless images differ by 0.1 MiB in proportional set size, both uncompressed (70.4 against 70.5 MiB at one replica) and compressed (140.7 against 140.8 MiB), and their file-backed and private-dirty components are identical to the reported precision. The choice of base image affects the size of the distributed artifact and nothing else that this study measures. This matters for the interpretation of Table 8, whose two configurations differed in both factors: the attribution made there was correct, but only the present experiment establishes it, because only here is the base image held constant while compression varies.
Replica scaling separates the two regimes as sharply as the single-process figures do. For the uncompressed variants the proportional set size falls from 70.4 MiB at one replica to 18.1 MiB at ten, so the aggregate physical memory occupied by the replica set grows from 70.4 MiB to 181.0 MiB, a factor of 2.57 for a tenfold increase in replicas. For every compressed variant the per-process value is essentially unchanged across the same range, from 140.7 MiB to 138.9 MiB, so the aggregate grows from 140.7 MiB to 1389.0 MiB, a factor of 9.87 against the 10.0 that perfect linearity would give. Summing the proportional set size over replicas is the appropriate aggregate here because that metric charges each shared page once, divided among the processes sharing it, so the sum over all sharers is precisely the physical memory the replica set occupies.
One practical consequence follows that the design did not anticipate. Because the proportional set size is indistinguishable across compression levels while the on-disk size is not, the most aggressive level is free: --lzma produces an image 9.7 per cent smaller than -9 for the micro base and 9.2 per cent smaller for distroless, at no measurable runtime cost relative to the other compressed variants. Where compression is adopted at all, on the narrow grounds identified in Section 5.2, --lzma is the appropriate setting.
A second trade-off exists between JVM and uncompressed GraalVM Native compilation. Native images reduce memory footprint by up to 1.9× and startup time by 1.2–1.7× compared to their JVM equivalents within the same framework. Prior work has demonstrated that JVM’s JIT compiler delivers 50–142% higher sustained throughput in long-running workloads [2,3], as profile-guided optimization at runtime adapts to actual execution patterns. The memory reduction should be read as variant-dependent rather than uniform. Across the four framework-matched pairs available in Table 5, the idle-memory ratios are 1.93× (Quarkus JVM against Quarkus Native-Micro), 1.88× (Quarkus JVM against Quarkus Native) and 1.46× (Quarkus Reactive JVM against Quarkus Reactive Native-Micro), while the fourth pair inverts: Quarkus Reactive Native consumes 115.0 MiB against 98.0 MiB for Quarkus Reactive JVM. The larger ratios of two to three that are sometimes quoted for Native compilation arise from comparisons across framework families, such as Spring Boot against Quarkus Native, and conflate the framework effect with the compilation effect. On the present data the memory argument for Native compilation is the stronger of the two, since the startup gain within matched pairs is a factor of 1.2 to 1.7 while the memory gain reaches 1.9. The empirical data therefore support Native compilation for memory-constrained deployments such as serverless functions and autoscaled Kubernetes pods [4,18], while JVM execution remains the stronger choice for sustained, high-throughput services where startup cost is amortized over extended operation.
The third trade-off involves Rust’s ownership-based memory model versus garbage-collected runtimes. Actix Web’s 2.95 MiB idle memory footprint represents a 69:1 ratio against Spring Boot and a 23:1 ratio against uncompressed Quarkus Native. This efficiency derives from compile-time memory management that eliminates garbage-collector infrastructure entirely [5,6]. However, the Rust ecosystem involves a steeper learning curve, a smaller developer pool [25], and comparatively younger client libraries for database and messaging integration. Organizations must weigh Actix Web’s exceptional resource efficiency against these ecosystem maturity considerations.

5.3. Deployment Density and Cost Implications

The measured memory footprints directly determine deployment density, defined as the number of application instances deployable within a fixed resource allocation. Table 16 quantifies the theoretical density within a 4 GiB memory budget based on idle-memory measurements. In a production environment, raw idle density cannot be realized due to systemic overheads. To model a realistic environment, 600 MiB of node capacity for system runtimes (OS, kubelet, and container daemons) was deducted, and an operational memory target per framework capable of sustaining active request throughput was defined [26,27,28].
Table 16. Theoretical deployment density within a 4 GiB memory allocation.
These density ratios carry direct cost implications in cloud environments where memory allocation determines billing [1,7]. Achieving equivalent aggregate capacity with Spring Boot theoretically requires approximately 2.9× the memory reservation of Quarkus Native and 69× that of Actix Web (or 11.5× practically). Beyond raw cost, higher instance counts improve fault tolerance: deployment of 58 Quarkus Native instances retains over 98% of its capacity if one instance fails, whereas a pool of 20 Spring Boot instances loses 5%. Horizontal scaling granularity also improves, as adding one instance to a pool of 58 increases capacity by under 2%, versus 5% for a pool of 20, reducing over-provisioning for workloads with moderate demand fluctuation.
The figures in Table 16 are physical upper bounds derived from measured idle consumption alone, and they should not be read as achievable pod counts. Three factors reduce them substantially in practice. First, Kubernetes schedules on resource requests rather than on observed usage, and the deployments evaluated here request 512 MiB per pod (Section 3.1); under that configuration a 4 GiB allocation admits eight pods irrespective of framework, and the entire measured memory advantage is invisible to the scheduler. Second, each pod carries costs beyond its application container, including the pod sandbox, the container runtime’s per-pod bookkeeping and kubelet accounting, so the per-pod charge does not fall to the application’s own footprint even when requests are right-sized. Third, a node imposes a maximum pod count, 110 by default, and system-reserved and kube-reserved allocations remove memory from the schedulable pool before any workload is placed. Table 17 restates the density under these constraints.
Table 17. Deployment density within a 4 GiB allocation under three assumptions: (a) the physical upper bound implied by idle memory alone, as in Table 16; (b) memory requests right-sized to twice the measured idle working set plus an allowance of approximately 8 MiB per pod for sandbox and runtime overhead, subject to the default limit of 110 pods per node; and (c) the 512 MiB requests actually used in this study.
Read this way, the operational conclusion changes in character while remaining useful. Under the requests actually used here, the frameworks are indistinguishable in density, which is a statement about the deployment configuration rather than about the runtimes, and it illustrates that the measured savings are realized only if requests are set from measured consumption rather than from a uniform default. Once requests are right-sized, a real but bounded advantage appears: approximately nine Spring Boot pods against twenty-seven Quarkus Native pods in the same 4 GiB, a factor of about three rather than the factor of ten implied by idle memory alone. For Actix Web the memory advantage saturates entirely, because the binding constraint becomes the node’s maximum pod count and the fixed per-pod overhead rather than memory, so the 69:1 idle-memory ratio does not translate into a 69:1 density ratio under any realistic configuration. The 1388-instance figure in Table 16 should accordingly be understood as a physical bound that no cluster would reach rather than as an achievable deployment density.
The density ratios reported above have a direct operational interpretation, but converting them into monetary quantities would require adopting one provider’s list prices at a single point in time, and the resulting figures would be neither measured nor stable. The scenario is therefore described qualitatively, through the two channels by which the measured quantities reach an operator’s infrastructure cost. The first is the memory channel: on any platform that bills reserved memory continuously, and for any request sizing proportional to the measured idle working set, the recurring cost of a fleet is linear in that reservation, so the idle-memory ratios of Table 5 carry over unchanged to this channel, and they are incurred whether or not the services receive traffic. The second is the image-distribution channel: the bytes transferred per image pull are proportional to image size, so the image-size ratios of Table 3 carry over to this channel, and by the same proportionality the 6.06:1 size ratio reported in Section 4.1 is also the ratio of transfer times on a link of any given bandwidth. The vCPU dimension does not enter either channel, because an identical one-vCPU request is used for every configuration and cancels in any comparison.
Two consequences follow, and both are statements of ordering rather than estimates of expenditure. First, the two channels differ in kind and not only in magnitude: the memory channel accrues continuously for as long as a pod holds its reservation, whereas the distribution channel is incurred only when an image crosses a network boundary, so a configuration that is favorable on one need not be favorable on the other, and the two cannot be combined without specifying a deployment cadence. Second, and most consequentially for the UPX question, the two channels act in opposite directions for the compressed Native image. Compression reduces the bytes transferred per pull by a factor of approximately 2.4 relative to the uncompressed micro image (137.53 against 57.25 MiB in Table 3), but it raises the resident memory of every running pod from 68.30 to 220.10 MiB, a factor of 3.2 that persists for the entire lifetime of the pod. The saving is therefore realized once per pull, whereas the penalty is paid continuously, so compression can be favorable only where the number of pulls per pod is large. Production practice pulls an image once per node per release, which lies far below that crossover on any pricing structure in which reserved memory is billed by time; this is the mechanism behind the conclusion of Section 5.2 that UPX compression benefits only narrow, bandwidth-dominated deployment scenarios.
The scaling measurements complement these density advantages. Actix Web and most Quarkus variants scale up in approximately 1.8–2.1 s, with the JVM versus Native compilation path within Quarkus contributing little to this dimension, except for the slower Quarkus Reactive JVM variant (3.1 s) [18]. The mechanism follows from Section 4.2: parallel replica provisioning is bounded by the slowest individual pod plus readiness detection, so frameworks with faster per-instance startup provision capacity sooner. The approximately 2:1 ratio between Spring and Quarkus or Actix Web scale-up times translates directly into capacity provisioning latency: during Kubernetes HPA-triggered scaling events, Spring applications require approximately 3.8 s to bring additional instances online, during which existing instances must absorb excess load. For latency-sensitive systems with strict SLAs, this provisioning delay can contribute to service-level objective violations during traffic spikes.

5.4. Practical Recommendations

The empirical findings support context-dependent technology selection rather than universal recommendations. For serverless and Function-as-a-Service environments, where cold-start latency and per-invocation memory cost dominate, the micro-based GraalVM Native variants provide the best balance within the JVM ecosystem [9,18]: Quarkus Reactive Native-Micro reaches application readiness in 1.73 s at 67.3 MiB idle, and Quarkus Native-Micro in 2.56 s at 68.3 MiB. Actix Web offers the lowest idle footprint of all configurations (2.95 MiB) but no startup advantage (3.00 s, statistically indistinguishable from the imperative Native variants), so the case for Rust here rests on memory density rather than on cold-start latency; the Rust serverless ecosystem also remains less mature than JVM alternatives in terms of managed service integration and library availability [6,20].
For Kubernetes microservice deployments requiring elastic scaling, Quarkus variants are favored [18] due to their approximately 2 s scale-up behavior, roughly twice as fast as Spring-based frameworks. The choice between Spring Boot and Native compilation within Quarkus depends on the deployment constraint profile: memory-limited environments (e.g., edge computing, cost-optimized clusters) favor Native images for their almost 2× memory reduction, while sustained high-throughput services benefit from JVM execution’s JIT optimization. Compressed Native images should be reserved for bandwidth-constrained image distribution scenarios, given their paradoxical memory inflation at runtime.
Spring Boot and Spring WebFlux remain viable for organizations with established Spring ecosystems and adequate resource allocations. However, their 200+ MiB baseline memory consumption, application-ready times of 5.5–5.7 s (13.2–13.6 s to pod readiness under the ten-second probe period), and 3.6–3.9 s scale-up latency impose operational constraints that may be unacceptable in resource-sensitive or latency-critical environments. Teams evaluating Spring for new microservice projects should consider whether these infrastructure costs align with their deployment requirements.

5.5. Threats to Validity

Several factors constrain the generalizability of these findings. First, all measurements were conducted on a single physical machine running a bare-metal K3s cluster. While this configuration eliminates network variability and ensures reproducibility, it does not replicate distributed deployment behaviors such as cross-node scheduling latency, network overlay overhead, or cloud provider-specific resource throttling. In particular, deployments on managed Kubernetes services such as AWS EKS or Google GKE may produce different absolute values due to the noisy neighbor effect wherein co-located tenant workloads compete for shared CPU, memory bandwidth, and network I/O as well as additional virtualization layers introduced by the underlying hypervisor infrastructure. Results should therefore be interpreted as relative comparisons under controlled conditions rather than absolute predictions of production performance on public cloud platforms. Moreover, all results derive from a single hardware profile (AMD Ryzen 9 9950X3D, DDR5 memory, NVMe storage); different CPU microarchitectures, storage subsystems, or multi-node topologies may shift absolute values and potentially the relative ordering of closely spaced results. Improvement plan: Replicate the identical manifests and measurement scripts on a three-node cluster and on one managed Kubernetes service, and report each metric as a pair consisting of the bare-metal value and the managed-cloud value, so that the substrate contribution is quantified rather than assumed. Because the measurement path is defined entirely by Kubernetes lifecycle events and cAdvisor, no code changes are required; the same scripts run unchanged, and one further hardware profile with a different microarchitecture would establish whether the reported ordering is platform-independent.
Second, the test environment uses Fedora Workstation with the Mandrel distribution of GraalVM, which is maintained by Red Hat and optimized for Quarkus Native compilation. This alignment may confer a home-court advantage to Quarkus variants. Organizations using different Linux distributions, alternative GraalVM distributions, or other container base images may observe different relative performance, particularly for Native image compilation and container image sizes. Improvement plan: Rebuild every Native variant with the upstream Oracle GraalVM Community distribution in addition to Mandrel, and rerun the image-size and idle-memory measurements on a second host distribution with a different kernel and cgroup configuration. The home-court advantage is then measurable as the difference between the two build toolchains under an otherwise identical protocol, which converts this threat from an acknowledged bias into a reported quantity.
Third, the framework selection, while representative, omits relevant alternatives. Rust evaluation relied solely on Actix Web; including Axum or Rocket would broaden the perspective on Rust framework infrastructure characteristics. Similarly, Spring Boot Native compilation via GraalVM, Java 21 virtual threads (Project Loom), and pure Vert.x implementations without Quarkus abstraction layers were not evaluated. These configurations could alter the observed trade-off landscape. Improvement plan: extend the suite with a second Rust framework (Axum) to separate language-level from framework-level effects, with Spring Boot compiled to a Native image to test whether the observed Native advantage is a property of the compilation strategy rather than of Quarkus, and with a Go-based framework to add a third memory-management model. Because all applications implement the same dependency set and the same endpoints, each addition is an independent, incremental piece of work that does not invalidate the existing measurements.
Fourth, the benchmark application exposes only a minimal Noop endpoint. This choice deliberately isolates static infrastructure costs, but it does not exercise payload serialization, database access, Kafka interaction, TLS termination, logging, or observability instrumentation. Although connection pools were eagerly initialized in all evaluated configurations, deployments that initialize pools lazily may defer these costs past the readiness signal, and both the relative startup ordering and the idle-memory ordering could change under realistic request-level workloads. The reported results should therefore be read as lower-bound infrastructure costs, and the moderate iso-load test in Section 4.5 mitigates this concern by confirming that the idle-state resource ordering persists under load, although behavior under sustained high-throughput conditions remains unexamined. Improvement plan: The multi-gradient robustness protocol defined in Section 3.3.6 addresses this threat directly by repeating the measurement across three load gradients and four endpoint classes, including compute-bound, I/O-bound, and long-lived-connection workloads, and by additionally measuring one configuration with lazily initialized connection pools in order to quantify how much of the reported readiness time is attributable to eager pool initialization.
Fifth, the startup measurements capture readiness at the application and pod levels, both of which include container runtime overhead in addition to application initialization. The relative contribution of each component was not isolated, meaning that measured startup times reflect the combined technology stack rather than framework initialization alone. Finally, the evaluated framework versions represent a point-in-time snapshot. The rapid evolution of GraalVM Native image capabilities, Rust async runtime optimizations, and JVM garbage collector improvements may shift relative performance in subsequent releases. Improvement plan: Decompose the PodScheduled-to-Ready interval into container runtime and application time by additionally recording the container start timestamp from the runtime and the first application log line, and report the two components separately. The higher-resolution protocol has since been adopted for the startup measurements reported in Table 4, so the remaining limitation is dispersion rather than resolution: with ten runs per configuration the confidence intervals within the GraalVM Native group still overlap. Increasing the number of cold starts per configuration from ten to thirty would narrow those intervals by approximately a factor of 1.7, at no cost beyond additional runtime of the existing measurement script. Improvement plan: Pin the exact component versions as reported in Table A2, publish the measurement suite as a versioned repository, and repeat the full campaign at each major release of the evaluated runtimes, reporting the results as a time series rather than as a single snapshot. This converts the point-in-time limitation into the longitudinal tracking direction described in Section 6. A corresponding correction applies to the scale-down measurement: replacing the replica-count polling loop with per-pod timing from the deletion timestamp to the pod’s disappearance from the API server removes the polling interval from the measurement path entirely and makes subsecond termination times resolvable, using the same watch mechanism as the higher-resolution startup protocol of Section 3.3.2.

6. Conclusions

This study systematically evaluated the static and infrastructure characteristics of eight microservice framework configurations spanning JVM, GraalVM Native image, and Rust runtime environments within containerized Kubernetes deployments. By employing technology-agnostic container-level metrics collected through cAdvisor and Kubernetes lifecycle events, the research established comparable measurements across fundamentally different runtime architectures, addressing a gap in the existing literature where cross-platform infrastructure comparisons under realistic deployment conditions remain scarce [1,7].
The empirical results demonstrate that no single runtime environment optimizes all static and infrastructure metrics simultaneously. Instead, three distinct trade-off profiles define the selection landscape. Rust, represented by Actix Web, achieves exceptional memory efficiency (2.95 MiB idle footprint, 69:1 ratio versus Spring Boot) through its ownership-based memory model that eliminates garbage collection overhead entirely. GraalVM Native image variants deliver 1.2–1.7× faster startup than their JVM counterparts within the same framework and, for most but not all matched variants, up to 1.9× lower memory consumption than their JVM equivalents through ahead-of-time compilation, though UPX-compressed variants [24] paradoxically exhibit the highest runtime memory footprints (215–229 MiB) despite the smallest container images (54–57 MiB). JVM-based frameworks, while incurring the highest baseline resource costs (200+ MiB memory, 5.5+ second application-ready time for Spring), retain advantages in ecosystem maturity, developer availability, and sustained throughput through JIT optimization [2,3].
Horizontal scaling measurements indicate that, in the evaluated environment, per-instance startup latency and readiness detection, rather than framework-specific shutdown logic, are the primary determinants of scaling responsiveness. Actix Web and nine of ten Quarkus variants scale up in approximately 1.8–2.1 s, while Spring-based frameworks require 3.6–3.9 s, a roughly 2:1 ratio with direct implications for Kubernetes HPA-driven capacity provisioning. These scaling differences, combined with the measured memory footprint variations, produce deployment density ratios of up to 69:1 (Actix Web versus Spring Boot within equivalent memory allocations), translating into proportional differences in infrastructure cost and fault tolerance characteristics.
Based on these findings, technology selection should be guided by deployment context rather than absolute performance rankings. Quarkus Native is recommended for serverless and startup-sensitive environments within the JVM ecosystem, offering 1.7–2.9 s application-ready time and 67–70 MiB idle memory across its micro and standard variants [9,18]. Actix Web provides further efficiency gains for organizations with Rust expertise, particularly in resource-constrained or high-density deployment scenarios. For sustained high-throughput services where startup cost is amortized, JVM execution with Quarkus remains advantageous. Spring-based frameworks are viable where established ecosystems and adequate resource allocations are available, but teams should carefully evaluate whether their infrastructure overhead aligns with deployment requirements.
Future work should extend this evaluation along four distinct directions.
The first direction is experimental expansion. Distributed multi-node cluster testing would assess whether the observed relative differences hold under production network conditions and cross-node scheduling, and replication on at least one managed Kubernetes service would quantify the contribution of hypervisor overhead, noisy neighbors, and provider-specific throttling to the absolute values reported here. Replication on a second hardware profile with a different CPU microarchitecture would establish whether the reported ordering is platform-independent.
The second direction is indicator supplementation. The present metric set is time-averaged and idle-dominated; it should be extended with request-level throughput and tail-latency measurements under the multi-gradient protocol of Section 3.3.6, with energy consumption per request, with peak transient memory during initialization, and with time-resolved telemetry analyzed by the time–frequency and multi-scale decomposition techniques established in the measurement-instrumentation literature [24,25], which would expose the initialization transients that a one-minute averaging window necessarily suppresses.
The third direction is framework expansion. The comparative landscape would be broadened by Go-based alternatives such as Gin and Fiber, by Java 21 virtual threads (Project Loom), by Spring Boot Native compilation via GraalVM, by a second Rust framework such as Axum, and by pure Vert.x implementations without the Quarkus abstraction layer, which together would separate language-level, framework-level, and compilation-level effects that the present selection cannot fully disentangle.
The fourth direction is long-term version tracking. Longitudinal studies that repeat the identical measurement protocol at each major release of the evaluated runtimes would convert the present point-in-time snapshot into a time series, providing insight into optimization trends in GraalVM Native image, Rust asynchronous runtimes, and JVM garbage collectors, and informing long-term technology selection decisions rather than single-release comparisons.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/app16189069/s1, Supplementary File S1 contains the script “S1_scale_test.sh”, and Supplementary File S2 contains the script “S2_startup_measure.sh”. The rest of publicly available repositories of source code list is available in the “Data Availability Statement” section.

Author Contributions

Conceptualization, M.Š., A.R. and D.K.; methodology, M.Š.; validation, A.R. and D.K.; formal analysis, A.R. and D.K.; resources, M.Š.; writing—original draft preparation, M.Š., A.R. and D.K.; writing—review and editing, M.Š., A.R. and D.K.; visualization, M.Š. and A.R.; supervision, D.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

All materials required to reproduce the reported experiments are publicly available on GitHub. The Kubernetes cluster configuration, deployment manifests, ConfigMaps, and measurement automation scripts (S1–S2) are hosted in a dedicated infrastructure repository: https://github.com/matejsaric32/microservice-infra-benchmark (accessed on 1 August 2026). The infrastructure repository includes a Quick Start guide documenting the exact cluster configuration used in this study, including the K3s version, cgroup driver, container runtime settings, and deployment parameters, so that the complete test environment can be replicated from the provided configuration. The source code for each evaluated framework is maintained in individual repositories: Spring Boot (https://github.com/matejsaric32/spring-perf) (accessed on 1 August 2026), Spring WebFlux (https://github.com/matejsaric32/spring-reactor-perf) (accessed on 1 August 2026), Ktor (https://github.com/matejsaric32/ktor-perf) (accessed on 1 August 2026), Quarkus (https://github.com/matejsaric32/quarkus-perf) (accessed on 1 August 2026), Quarkus Reactive (https://github.com/matejsaric32/quarkus-reactive-perf) (accessed on 1 August 2026), and Actix Web (https://github.com/matejsaric32/perf-actix) (accessed on 1 August 2026). Pre-built container images for all evaluated variants are published to the GitHub Container Registry and are accessible at the following package URLs: Spring Boot (https://github.com/matejsaric32/spring-perf/pkgs/container/spring-perf) (accessed on 2 July 2026), Spring WebFlux (https://github.com/matejsaric32/spring-reactor-perf/pkgs/container/spring-reactive-perf) (accessed on 4 July 2026), Ktor (https://github.com/matejsaric32/ktor-perf/pkgs/container/ktor-perf) (accessed on 5 July 2026), Actix Web (https://github.com/matejsaric32/perf-actix/pkgs/container/actix-perf) (accessed on 10 July 2026), Quarkus JVM (https://github.com/matejsaric32/quarkus-perf/pkgs/container/quarkus-perf-jvm) (accessed on 10 July 2026), Quarkus Native (https://github.com/matejsaric32/quarkus-perf/pkgs/container/quarkus-perf-native) (accessed on 11 July 2026), Quarkus Native-Micro (https://github.com/matejsaric32/quarkus-perf/pkgs/container/quarkus-perf-native-micro) (accessed on 20 July 2026), Quarkus Native-Micro-Compressed (https://github.com/matejsaric32/quarkus-perf/pkgs/container/quarkus-perf-native-micro-compressed) (accessed on 21 July 2026), Quarkus Distroless (https://github.com/matejsaric32/quarkus-perf/pkgs/container/quarkus-perf-distroless) (accessed on 21 July 2026), Quarkus Reactive JVM (https://github.com/matejsaric32/quarkus-reactive-perf/pkgs/container/quarkus-reactive-perf-jvm) (accessed on 21 July 2026), Quarkus Reactive Native (https://github.com/matejsaric32/quarkus-reactive-perf/pkgs/container/quarkus-reactive-perf-native) (accessed on 21 July 2026), Quarkus Reactive Native-Micro (https://github.com/matejsaric32/quarkus-reactive-perf/pkgs/container/quarkus-reactive-perf-native-micro) (accessed on 24 July 2026), Quarkus Reactive Native-Micro-Compressed (https://github.com/matejsaric32/quarkus-reactive-perf/pkgs/container/quarkus-reactive-perf-native-micro-compressed) (accessed on 24 July 2026), and Quarkus Reactive Distroless (https://github.com/matejsaric32/quarkus-reactive-perf/pkgs/container/quarkus-reactive-perf-distroless) (accessed on 1 August 2026).

Acknowledgments

During the preparation of this manuscript the authors used Claude Opus 5 High model for the purposes of creating automation scripts provided in the Supplementary Materials. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. Systematic overview of evaluation limitations in comparable studies published in the last three years. Each row states what the study varied, what it measured, and the specific limitation that prevents it from answering the research questions of the present work. Entries are derived from the studies as described in Section 2.

Appendix B

Table A2. Components and versions.

Appendix C

Table A3. The individual long-lived-connection observations underlying Table 12 and Table 13: three repetitions at each of five connection levels, fifteen observations per configuration. Working set in mebibytes. These are the observations the ordinary least-squares fits of Table 13 are computed over.

References

  1. Newman, S. Building Microservices: Designing Fine-Grained Systems, 2nd ed.; O’Reilly Media: Sebastopol, CA, USA, 2021. [Google Scholar]
  2. Evans, B.J.; Gough, J. Optimizing Cloud Native Java: Practical Techniques for Improving JVM Application Performance; O’Reilly Media: Sebastopol, CA, USA, 2024. [Google Scholar]
  3. Beckwith, M. JVM Performance Engineering: Inside the OpenJDK HotSpot VM; Addison-Wesley Professional: Boston, MA, USA, 2024. [Google Scholar]
  4. Kumar, A.B.V. Supercharge Your Applications with GraalVM: Hands-on Examples to Optimize and Extend Your Code Using GraalVM’s Polyglot and Native Capabilities; Packt Publishing: Birmingham, UK, 2021. [Google Scholar]
  5. Blandy, J.; Orendorff, J.; Tindall, L.F.S. Programming Rust: Fast, Safe Systems Development, 2nd ed.; O’Reilly Media: Sebastopol, CA, USA, 2021. [Google Scholar]
  6. Klabnik, S.; Nichols, C. The Rust Programming Language, 2nd ed.; No Starch Press: San Francisco, CA, USA, 2023. [Google Scholar]
  7. Morabito, R.; Kjällman, J.; Komu, M. Hypervisors vs. Lightweight Virtualization: A Performance Comparison. In Proceedings of the IEEE International Conference on Cloud Engineering (IC2E), Tempe, AZ, USA, 9–13 March 2015; pp. 386–393. [Google Scholar] [CrossRef] [Scilit]
  8. Harter, T.; Salmon, B.; Liu, R.; Arpaci-Dusseau, A.C.; Arpaci-Dusseau, R.H. Slacker: Fast Distribution with Lazy Docker Containers. In Proceedings of the 14th USENIX Conference on File and Storage Technologies (FAST), Santa Clara, CA, USA, 22–25 February 2016; pp. 181–195. [Google Scholar]
  9. Wang, L.; Li, M.; Zhang, Y.; Ristenpart, T.; Swift, M. Peeking Behind the Curtains of Serverless Platforms. In Proceedings of the 2018 USENIX Annual Technical Conference (USENIX ATC), Boston, MA, USA, 11–13 July 2018. [Google Scholar]
  10. Dragoni, N.; Giallorenzo, S.; Lafuente, A.L.; Mazzara, M.; Montesi, F.; Mustafin, R.; Safina, L. Microservices: Yesterday, Today, and Tomorrow. In Present and Ulterior Software Engineering; Springer: Cham, Switzerland, 2017; pp. 195–216. [Google Scholar] [CrossRef] [Scilit]
  11. Gan, Y.; Zhang, Y.; Cheng, D.; Shetty, A.; Rathi, P.; Katarki, N.; Bruno, A.; Hu, J.; Ritchken, B.; Jackson, B.; et al. An Open-Source Benchmark Suite for Microservices and Their Hardware-Software Implications for Cloud and Edge Systems. In Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS ’19), Providence, RI, USA, 13–17 April 2019; ACM: New York, NY, USA, 2019; pp. 3–18. [Google Scholar] [CrossRef] [Scilit]
  12. Wyciślik, Ł.; Latusik, Ł.; Kamińska, A.M. A Comparative Assessment of JVM Frameworks to Develop Microservices. Appl. Sci. 2023, 13, 1343. [Google Scholar] [CrossRef] [Scilit]
  13. Mochniej, K.; Badurowicz, M. Performance Comparison of Microservices Written Using Reactive and Imperative Approaches. J. Comput. Sci. Inst. 2023, 28, 242–247. [Google Scholar] [CrossRef] [Scilit]
  14. Koutroumpouchos, N.; Ntantogian, C.; Xenakis, C. Migrating from Developing Asynchronous Multi-Threading Programs to Reactive Programs in Java. Appl. Sci. 2024, 14, 12062. [Google Scholar] [CrossRef] [Scilit]
  15. Do Long, H.; Vergilio, T.; Kor, A.-L. Comparative Performance and Energy Efficiency Analysis of JVM Variants and GraalVM in Java Applications. Int. J. Environ. Sustain. Green Technol. 2023, 14, 1–18. [Google Scholar] [CrossRef] [Scilit]
  16. Amaral, M.; Polo, J.; Carrera, D.; Mohomed, I.; Unuvar, M.; Steinder, M. Performance Evaluation of Microservices Architectures Using Containers. In Proceedings of the IEEE 14th International Symposium on Network Computing and Applications (NCA), Cambridge, MA, USA, 28–30 September 2015; pp. 27–34. [Google Scholar] [CrossRef] [Scilit]
  17. Straesser, M.; Grohmann, J.; von Kistowski, J.; Eismann, S.; Bauer, A.; Kounev, S. A Systematic Approach for Benchmarking of Container Orchestration Frameworks. In Proceedings of the ACM/SPEC International Conference on Performance Engineering (ICPE ’23), Coimbra, Portugal, 15–19 April 2023; ACM: New York, NY, USA, 2023; pp. 187–198. [Google Scholar] [CrossRef] [Scilit]
  18. Li, Q.; Luo, H.; Cheng, H.; Deng, Y.; Sun, W.; Li, W.; Liu, Z. Incipient Fault Detection in Power Distribution System: A Time–Frequency Embedded Deep-Learning-Based Approach. IEEE Trans. Instrum. Meas. 2023, 72, 1–14. [Google Scholar] [CrossRef] [Scilit]
  19. Yan, J.; Zhou, N.; Cheng, Y.; Zhang, F.; Wang, H.; Wang, M.; Jin, B.; Li, M.; Lu, Q.; Zhang, W. Application of Machine-Vision-Driven Physics-Informed Neural Networks in Pantograph–Catenary System State Detection. Mech. Syst. Signal Process. 2026, 257, 114577. [Google Scholar] [CrossRef] [Scilit]
  20. Wimmer, C.; Stancu, C.; Hofer, P.; Jovanovic, V.; Wögerer, P.; Kessler, P.B.; Pliss, O.; Würthinger, T. Initialize once, start fast: Application initialization at build time. Proc. ACM Program. Lang. 2019, 184, 29. [Google Scholar] [CrossRef] [Scilit]
  21. Štefanko, M.; Clingan, J. Quarkus in Action; Manning Publications: Shelter Island, NY, USA, 2024. [Google Scholar]
  22. Moskáła, M. Kotlin Coroutines: Deep Dive; Kt. Academy: Warsaw, Poland, 2022. [Google Scholar]
  23. UPX—the Ultimate Packer for eXecutables. Available online: https://upx.github.io/ (accessed on 20 June 2026).
  24. Silberschatz, A.; Galvin, P.B.; Gagne, G. Operating System Concepts, 10th Edition. 2018. Available online: https://os.ecci.ucr.ac.cr/slides/Abraham-Silberschatz-Operating-System-Concepts-10th-2018.pdf (accessed on 20 June 2026).
  25. Gjengset, J. Rust for Rustaceans: Idiomatic Programming for Experienced Developers; No Starch Press: San Francisco, CA, USA, 2021. [Google Scholar]
  26. Al-Dhuraibi, Y.; Paraiso, F.; Djarallah, N.; Merle, P. Elasticity in Cloud Computing: State of the Art and Research Challenges. IEEE Trans. Serv. Comput. 2018, 11, 430–447. [Google Scholar] [CrossRef] [Scilit]
  27. Kratzke, N. A Brief History of Cloud-Native Architecture. Appl. Sci. 2018, 8, 1368. [Google Scholar] [CrossRef] [Scilit]
  28. Szymanek, G.; Smołka, J. Comparative performance analysis of Spring Boot and Quarkus frameworks in Java applications. J. Comput. Sci. Inst. 2025, 37, 484–491. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.