Tagged articles
48 articles
Page 1 of 1
Java Web Project
Java Web Project
Apr 19, 2026 · Industry Insights

Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon

Spring Boot’s heavy runtime, driven by reflection and classpath scanning, incurs long cold starts and high memory usage, making it costly for serverless and edge deployments; lightweight frameworks like Quarkus, Micronaut, and Helidon shift work to compile time and offer native images, but introduce trade‑offs in dynamism, ecosystem coverage, and build complexity.

HelidonMicronautQuarkus
0 likes · 10 min read
Why Spring Boot Falters in Serverless: Comparing Quarkus, Micronaut & Helidon
Java Web Project
Java Web Project
Apr 15, 2026 · Backend Development

How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image

This article walks through converting a Spring Boot order‑query microservice to a GraalVM Native Image, detailing environment setup, common build pitfalls with concrete code fixes, Docker multi‑stage packaging, K8s scaling comparison, performance benchmarks, CI/CD integration, and guidance on when Native Image is appropriate.

DockerKubernetesPerformance Optimization
0 likes · 12 min read
How We Cut Spring Boot Startup from 12 s to 3 s with GraalVM Native Image
macrozheng
macrozheng
Jan 27, 2026 · Backend Development

Why Tomcat Beats Jetty 15× with SpringBoot 4 Virtual Threads

A performance comparison of SpringBoot 4.0 with virtual threads shows Tomcat achieving up to fifteen times higher QPS than Jetty, while startup times remain similar, and provides step‑by‑step instructions for building native Docker images and switching containers.

DockerJettySpringBoot
0 likes · 10 min read
Why Tomcat Beats Jetty 15× with SpringBoot 4 Virtual Threads
java1234
java1234
Jan 27, 2026 · Backend Development

7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time

This article presents seven concrete Spring Boot startup optimization techniques—including lazy bean initialization, precise component scanning, JVM flag tuning, auto‑configuration pruning, class‑loading shortcuts, lazy database connections, and GraalVM native compilation—backed by real‑world benchmarks that reduce launch times by up to 71% across e‑commerce, micro‑service, logistics and payment services.

Database ConnectionSpring Bootauto-configuration
0 likes · 9 min read
7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time
Java Architecture Diary
Java Architecture Diary
Jan 8, 2026 · Backend Development

Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0

A detailed benchmark shows that enabling Java virtual threads in Spring Boot 4.0 makes Tomcat handle up to fifteen times more requests than Jetty, while startup times remain similar, and the article explains the test setup, configuration steps, native image builds, and the reasons behind Jetty's limitation.

DockerJettySpringBoot
0 likes · 10 min read
Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0
Selected Java Interview Questions
Selected Java Interview Questions
Oct 8, 2025 · Backend Development

Mastering GraalVM Native Image Reflection: The Ultimate Guide for Spring Boot 3

This comprehensive guide explains why reflection configuration is essential for GraalVM native compilation, details Spring Boot 3's reflection mechanisms, enumerates common pitfalls with concrete solutions, and presents best‑practice strategies and tooling to reliably build native images for Java back‑ends.

Backend DevelopmentJavaReflection Configuration
0 likes · 5 min read
Mastering GraalVM Native Image Reflection: The Ultimate Guide for Spring Boot 3
Dunmao Tech Hub
Dunmao Tech Hub
Sep 23, 2025 · Backend Development

How to Build a Native Spring Boot Executable with GraalVM and Docker

Learn to compile a Spring Boot 3.5.6 application into a fast-starting native binary using GraalVM, configure the environment, add Maven plugins, write simple test code, and package the result into a lightweight Docker image, achieving dramatically reduced startup time and image size.

Spring Bootgraalvmmaven
0 likes · 8 min read
How to Build a Native Spring Boot Executable with GraalVM and Docker
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.

JavaKubernetesQuarkus
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.

AoTDockerRuntimeHints
0 likes · 12 min read
How to Build Fast Spring Boot 3 Apps with GraalVM Native Images and AOT
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.

GoJavaRust
0 likes · 9 min read
Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments
Alibaba Cloud Native
Alibaba Cloud Native
Nov 4, 2024 · Cloud Native

Boost Java Startup Speed and Reduce Memory with GraalVM Static Compilation & ARMS

This guide explains the challenges of Java cold‑start and high runtime memory in cloud‑native environments, introduces GraalVM static compilation and a novel static Java Agent instrumentation solution, and provides step‑by‑step instructions—including dependency installation, Maven configuration, pre‑run collection, and native image building—to enable observable, high‑performance Java applications.

Java Agentgraalvmnative-image
0 likes · 17 min read
Boost Java Startup Speed and Reduce Memory with GraalVM Static Compilation & ARMS
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.

BackendGoRust
0 likes · 7 min read
Performance Comparison of Spring Boot Native Image vs Go and Rust
Alibaba Cloud Observability
Alibaba Cloud Observability
Jul 16, 2024 · Cloud Native

Auto‑Instrumenting Java in GraalVM Native Images: A Practical OTel Solution

This article explains how Alibaba Cloud engineers tackled the challenges of long startup times and high memory usage in Java serverless workloads by designing a static Java Agent instrumentation that works with GraalVM Native Image, preserving OpenTelemetry observability while dramatically improving performance.

Cloud NativeJava AgentOpenTelemetry
0 likes · 13 min read
Auto‑Instrumenting Java in GraalVM Native Images: A Practical OTel Solution
Java Backend Technology
Java Backend Technology
Dec 26, 2023 · Backend Development

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

Spring Boot 3.2 now fully supports Java 21, Project Loom virtual threads, and GraalVM native images, and this guide walks through installing Java 21‑GraalVM, configuring virtual threads, building sample controllers, async and scheduled tasks, and creating a native executable to achieve faster startup and lower memory usage.

Backend DevelopmentJava 21Spring Boot
0 likes · 9 min read
Exploring Spring Boot 3.2: 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.

BenchmarkJavaMicroservices
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.

Backend DevelopmentJava 21Spring Boot
0 likes · 8 min read
Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads
Programmer DD
Programmer DD
Sep 26, 2023 · Fundamentals

GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support

The new GraalVM for JDK 21 brings full virtual‑thread support, native‑image capabilities without preview flags, performance improvements, early Java Vector API optimizations, and a high‑performance runtime for Java and other languages, with download links and additional resources for developers.

JDK21JavaVirtual Threads
0 likes · 4 min read
GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support
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.

Java performanceProfile Guided Optimizationgraalvm
0 likes · 18 min read
Unlock Faster Java: Oracle GraalVM Native Image’s Startup, Memory, and Throughput Gains
Programmer DD
Programmer DD
Dec 27, 2022 · Backend Development

How to Build a Minimal GraalVM Native Image for a Solon Java App

This guide walks through setting up GraalVM on Ubuntu, configuring environment variables, handling native-image agent pitfalls, fixing H2 database class‑loading issues, and finally producing a compact native executable for a Solon‑based Java service with memory‑optimisation tips.

JavaSolongraalvm
0 likes · 13 min read
How to Build a Minimal GraalVM Native Image for a Solon Java App
Java High-Performance Architecture
Java High-Performance Architecture
Dec 17, 2022 · Cloud Native

How to Build Lightning‑Fast Spring Boot Apps with Spring Native and GraalVM

This tutorial walks through installing GraalVM, configuring Spring Native, building a native Spring Boot application using Buildpacks or the native‑image plugin, creating Docker containers, and comparing startup speed and memory usage against traditional Java execution, providing full pom.xml examples and official documentation links.

DockerJavaSpring Boot
0 likes · 12 min read
How to Build Lightning‑Fast Spring Boot Apps with Spring Native and GraalVM
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.

DockerSpring BootSpring Native
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.

Release Notesgraalvmjakarta-ee
0 likes · 2 min read
Spring Boot 3.0 RC1 Released with Native Image Support and Jakarta EE 9 Migration
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 compilationJavaSpring Boot
0 likes · 12 min read
How to Turn a Java Hello World into a Fast Native Binary with GraalVM
Java Architecture Diary
Java Architecture Diary
Jul 22, 2021 · Fundamentals

GraalVM 21.2 Highlights: Native Image, Compiler, and Multi‑Language Improvements

GraalVM 21.2 introduces major updates across its ecosystem, including new Gradle and Maven plugins for Native Image with JUnit 5 support, enhanced compiler optimizations, expanded Truffle language capabilities, improved JavaScript, Ruby, Python, LLVM, and upgraded tooling such as VisualVM and JFR integration.

Compiler OptimizationsMulti-languageTruffle
0 likes · 18 min read
GraalVM 21.2 Highlights: Native Image, Compiler, and Multi‑Language Improvements
Java Architecture Diary
Java Architecture Diary
Mar 30, 2021 · Backend Development

Unlock GraalVM: Faster Java, Native Images, and Polyglot Programming

This guide introduces GraalVM’s key capabilities—including a high‑performance JIT compiler, native‑image generation for low‑memory binaries, and seamless polyglot support—while providing essential command‑line options and code examples for Java, native, and multiple language development.

JIT compilerJavacommand-line
0 likes · 10 min read
Unlock GraalVM: Faster Java, Native Images, and Polyglot Programming
Java Architecture Diary
Java Architecture Diary
Dec 19, 2020 · Backend Development

Boost Spring Boot Performance with GraalVM Native Images

This guide walks through installing GraalVM, adding the native‑image tool, creating a Spring Boot 2.4 project, configuring it for GraalVM, building a native executable, and comparing startup time and memory usage, showing how GraalVM can reduce startup from over a second to 0.2 seconds and memory from 480 MB to 25 MB.

JavaPerformance OptimizationSpring Boot
0 likes · 8 min read
Boost Spring Boot Performance with GraalVM Native Images