Tag

native-image

0 views collected around this technical thread.

Architecture Digest
Architecture Digest
Mar 14, 2025 · Backend Development

Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples

This article compares Spring Boot and Quarkus across architecture, startup speed, memory usage, and native image support, presents a JMeter‑based performance test suite, shares migration tips for Spring developers, and provides concrete Java code examples for building reactive microservices on both frameworks.

JavaKubernetesMicroservices
0 likes · 13 min read
Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples
macrozheng
macrozheng
Feb 14, 2025 · Backend Development

How to Build Fast Spring Boot 3 Apps with GraalVM Native Images and AOT

This guide walks through the prerequisites, GraalVM installation, Maven setup, and step‑by‑step packaging of a Spring Boot 3 application into a native executable using AOT compilation, runtime hints, and Docker, demonstrating dramatically faster startup times.

AOTDockerGraalVM
0 likes · 12 min read
How to Build Fast Spring Boot 3 Apps with GraalVM Native Images and AOT
Selected Java Interview Questions
Selected Java Interview Questions
Jan 17, 2025 · Backend Development

Spring Boot 3.0 AOT Compilation with GraalVM: A Step‑by‑Step Guide

This article explains how to prepare the environment, configure GraalVM, use Maven plugins, and apply Spring Boot 3.0 AOT and RuntimeHints to compile a Spring Boot application into a fast‑starting native executable, including Docker packaging and underlying AOT principles.

AOTGraalVMJava
0 likes · 12 min read
Spring Boot 3.0 AOT Compilation with GraalVM: A Step‑by‑Step Guide
Java Tech Enthusiast
Java Tech Enthusiast
Dec 8, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments

The article benchmarks a Spring Boot 3 service as a GraalVM native image, a traditional JAR, and Go and Rust versions, showing the native binary starts in under a second with ~70 MB memory and 7 k requests/s, the JAR needs seconds and 200 MB, while Go and Rust use 10 MB and 3 MB respectively with throughput, illustrating native images’ fast startup and lower runtime footprint despite longer compilation.

GoGraalVMJava
0 likes · 9 min read
Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image vs Go and Rust

This article demonstrates how to quickly build and benchmark a Spring Boot 2.x application as a native binary, compares its startup time, memory usage, and request throughput with equivalent implementations in Go and Rust, and concludes that AOT‑processed Java offers impressive performance despite longer compilation times.

GoPerformance BenchmarkRust
0 likes · 7 min read
Performance Comparison of Spring Boot Native Image vs Go and Rust
Java Architecture Diary
Java Architecture Diary
May 29, 2024 · Backend Development

How GraalVM Native Image’s New Native Memory Tracking Helps Diagnose Memory Usage

GraalVM Native Image now supports Native Memory Tracking (NMT), allowing developers to monitor off‑heap memory allocations, compare Java and native execution, integrate with JFR, and assess performance impact through detailed reports and experimental events.

GraalVMJFRNative Memory Tracking
0 likes · 17 min read
How GraalVM Native Image’s New Native Memory Tracking Helps Diagnose Memory Usage
Java Architect Essentials
Java Architect Essentials
Dec 21, 2023 · Backend Development

Exploring Spring Boot 3.2 with Java 21, Virtual Threads, and GraalVM Native Images

This article demonstrates how to use Spring Boot 3.2 with Java 21, enabling virtual threads and GraalVM native images, providing step‑by‑step setup, configuration, and sample code for controllers, async tasks, and scheduled jobs, and discusses performance benefits and considerations.

GraalVMJava 21Spring Boot
0 likes · 8 min read
Exploring Spring Boot 3.2 with Java 21, Virtual Threads, and GraalVM Native Images
Code Ape Tech Column
Code Ape Tech Column
Nov 30, 2023 · Backend Development

Performance Comparison of Spring Boot on JVM vs GraalVM Native Image

This article evaluates the startup speed, memory consumption, and request‑handling performance of a simple Spring Boot "Hello World" service when run on the traditional JVM compared with a GraalVM‑compiled native binary, using a MacBook M1 and Bombardier for load testing.

GraalVMJavaMicroservices
0 likes · 9 min read
Performance Comparison of Spring Boot on JVM vs GraalVM Native Image
Architecture Digest
Architecture Digest
Nov 29, 2023 · Backend Development

Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads

This article demonstrates how Spring Boot 3.2 fully supports Java 21, Project Loom virtual threads, and GraalVM native images, providing step‑by‑step instructions, configuration details, and runnable code examples that showcase building, running, and profiling a Spring Boot application with these modern technologies.

GraalVMJava 21Spring Boot
0 likes · 8 min read
Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads
Code Ape Tech Column
Code Ape Tech Column
Nov 25, 2023 · Backend Development

Exploring Spring Boot 3.2 with Java 21, Virtual Threads, and GraalVM Native Images

This article demonstrates how to use Spring Boot 3.2 together with Java 21, Project Loom virtual threads, and GraalVM native images, providing step‑by‑step setup, configuration, and code examples for controllers, async tasks, scheduled jobs, and native compilation.

GraalVMJava 21Spring Boot
0 likes · 8 min read
Exploring Spring Boot 3.2 with Java 21, Virtual Threads, and GraalVM Native Images
Code Ape Tech Column
Code Ape Tech Column
Nov 15, 2023 · Backend Development

Spring Boot vs Quarkus: Performance Comparison, Native Image Benefits, and Migration Guide

This article compares Spring Boot and Quarkus across startup time, memory usage, CPU consumption, and response latency, presents benchmark results from JMeter and VisualVM tests, and provides practical guidance for migrating Java developers from Spring to the cloud‑native Quarkus framework.

JavaKubernetesPerformance
0 likes · 15 min read
Spring Boot vs Quarkus: Performance Comparison, Native Image Benefits, and Migration Guide
IT Services Circle
IT Services Circle
Oct 5, 2023 · Cloud Native

Getting Started with Spring Native: Building Ultra‑Fast Spring Boot Applications

This article introduces Spring Native, explains how it uses GraalVM to compile Spring Boot apps into native executables with sub‑100 ms startup and lower memory usage, provides step‑by‑step setup and Docker build instructions, and compares its performance against traditional Spring Boot launches.

DockerGraalVMJava
0 likes · 6 min read
Getting Started with Spring Native: Building Ultra‑Fast Spring Boot Applications
Java Architecture Diary
Java Architecture Diary
Jun 16, 2023 · Backend Development

Unlock Faster Java: Oracle GraalVM Native Image’s Startup, Memory, and Throughput Gains

Oracle GraalVM’s new release for JDK 17 and JDK 20 adds free‑to‑use native‑image features—including profile‑guided optimizations, G1 GC, object‑header compression, ML‑driven PGO, and SBOM support—delivering up to 46% faster startup, 2‑3× lower memory usage, and up to 1.6× higher peak throughput compared with traditional JIT, while also introducing new tooling such as native‑image bundles, build reports, enhanced AWT support, and experimental monitoring.

GraalVMJDK20Java performance
0 likes · 18 min read
Unlock Faster Java: Oracle GraalVM Native Image’s Startup, Memory, and Throughput Gains
Java Architecture Diary
Java Architecture Diary
May 19, 2023 · Backend Development

What Drives GraalVM Adoption? Insights from the Latest Community Survey

The recent GraalVM community survey reveals that 65% of respondents already use or plan to use GraalVM in production, with native image creation, polyglot APIs, and Java being the most popular use cases, while challenges include library support and better error diagnostics.

GraalVMJavaPolyglot
0 likes · 10 min read
What Drives GraalVM Adoption? Insights from the Latest Community Survey
Java Architect Essentials
Java Architect Essentials
Nov 28, 2022 · Backend Development

Building and Running a Spring Native Application with GraalVM and Docker

This article explains what Spring Native is, how to set up the required environment, the two main ways to build a native Spring Boot image using either Buildpacks or the GraalVM native-image Maven plugin, and demonstrates container deployment and performance comparison with traditional JVM execution.

DockerGraalVMJava
0 likes · 10 min read
Building and Running a Spring Native Application with GraalVM and Docker
Java Captain
Java Captain
Oct 27, 2022 · Backend Development

Spring Boot 3.0 RC1 Released with Native Image Support and Jakarta EE 9 Migration

Spring Boot 3.0 RC1 introduces 135 enhancements, native executable support via Maven/Gradle plugins, migration to Jakarta EE 9, Java 17 baseline, and new features such as flexible Spring Data JDBC auto‑configuration, Prometheus example auto‑configuration, and Log4j2 improvements, with full details in the release notes.

GraalVMJakarta EEJava
0 likes · 2 min read
Spring Boot 3.0 RC1 Released with Native Image Support and Jakarta EE 9 Migration
Code Ape Tech Column
Code Ape Tech Column
Sep 30, 2022 · Cloud Native

Spring Native: Achieving Sub‑100 ms Startup for Spring Boot Applications

This article introduces Spring Native, explains how native images built with GraalVM can reduce Spring Boot startup time to under 100 ms, walks through environment setup, project initialization, Docker image creation, performance testing, and provides troubleshooting tips for common issues.

DockerGraalVMPerformance
0 likes · 8 min read
Spring Native: Achieving Sub‑100 ms Startup for Spring Boot Applications
macrozheng
macrozheng
Dec 8, 2021 · Backend Development

How to Turn a Java Hello World into a Fast Native Binary with GraalVM

This article walks through writing a simple Java program, compiling it with javac, then using GraalVM's native-image tool to produce a JVM‑independent executable, compares file size and startup speed, discusses native-image limitations, and shows how Spring Boot can be built as a native image for dramatically faster startup.

AOT compilationGraalVMJava
0 likes · 12 min read
How to Turn a Java Hello World into a Fast Native Binary with GraalVM