Tagged articles

Virtual Threads

146 articles · Page 1 of 2
java1234
java1234
Aug 15, 2026 · Backend Development

Why Do 10,000 Virtual Threads Finish in 1 s While a Fixed Thread Pool Takes 50 s?

The article explains how Java virtual threads can complete 10,000 I/O‑bound tasks in about one second, whereas a traditional fixed thread pool of 200 threads needs roughly fifty seconds, by detailing the underlying scheduling differences, benchmark code, suitable scenarios, and limitations.

JDK 21Thread PoolVirtual Threads
0 likes · 9 min read
Why Do 10,000 Virtual Threads Finish in 1 s While a Fixed Thread Pool Takes 50 s?
java1234
java1234
Aug 9, 2026 · Backend Development

Why Spring Boot 3 Completely Drops JDK 8

Spring Boot 3 raises its minimum Java version to 17 because Spring Framework 6 moves to Jakarta EE 9+, ending support for the javax.* namespace, and Oracle stopped free updates for JDK 8, making migration essential for security, ecosystem compatibility, and to leverage new language features and Spring‑Boot‑specific improvements.

JDK 17Jakarta EEJava Records
0 likes · 10 min read
Why Spring Boot 3 Completely Drops JDK 8
IT Services Circle
IT Services Circle
Aug 1, 2026 · Backend Development

Can Virtual Threads in Java 21 Replace CompletableFuture for Asynchronous Programming?

With Java 21's cheap virtual threads, many of the blocking‑IO patterns that forced developers to write CompletableFuture callback chains can now be expressed as straightforward synchronous code, yet CompletableFuture still offers powerful task‑orchestration features that virtual threads alone cannot replace.

Asynchronous ProgrammingCompletableFutureStructuredTaskScope
0 likes · 9 min read
Can Virtual Threads in Java 21 Replace CompletableFuture for Asynchronous Programming?
Su San Talks Tech
Su San Talks Tech
Jul 24, 2026 · Backend Development

Why More Teams Are Choosing Spring WebFlux for High‑Concurrency Applications

The article explains how Spring WebFlux replaces the thread‑per‑request model with an event‑loop, non‑blocking I/O and reactive streams, offering higher resource efficiency, built‑in back‑pressure, and better support for real‑time data, while also discussing its drawbacks and when virtual threads may be a viable alternative.

Cloud NativeR2DBCReactive Programming
0 likes · 18 min read
Why More Teams Are Choosing Spring WebFlux for High‑Concurrency Applications
Tinker Programmer
Tinker Programmer
Jul 21, 2026 · Backend Development

Migrating a High‑Traffic Java 8 Service to JDK 21/25: Pitfalls, Compatibility Checks, and Best‑Practice SOP

The author details a production migration of a core transaction service from Java 8 to JDK 21/25—handling millions of users and 30 k QPS—by exposing runtime silent‑failure pitfalls, outlining six compatibility‑risk categories, prescribing version‑selection rules, a step‑by‑step gray‑scale upgrade and rollback plan, and quantifying performance gains such as ZGC latency reduction and AppCDS startup speedup.

JDK 21JDK 25Migration
0 likes · 20 min read
Migrating a High‑Traffic Java 8 Service to JDK 21/25: Pitfalls, Compatibility Checks, and Best‑Practice SOP
Tinker Programmer
Tinker Programmer
Jul 17, 2026 · Backend Development

How Java 21 Virtual Threads Enable 100 k Threads Without Thread‑Pool Tuning

After weeks of futile thread‑pool tuning for an IO‑bound gateway, the author switched to Java 21 virtual threads, achieving stable 5,000 concurrent requests with dramatically lower P99 latency, reduced memory usage, and higher CPU efficiency, and then explains virtual‑thread internals, Scoped Values, migration steps, and limitations.

Scoped ValuesThread PoolVirtual Threads
0 likes · 18 min read
How Java 21 Virtual Threads Enable 100 k Threads Without Thread‑Pool Tuning
Programmer XiaoFu
Programmer XiaoFu
Jul 16, 2026 · Backend Development

Can Java 21 Virtual Threads Replace CompletableFuture for Async Programming?

With Java 21’s virtual threads making threads cheap, the article examines whether the traditional CompletableFuture async style can be dropped, showing that simple IO can now be written synchronously, while complex task orchestration, fallback, and timeout still benefit from CompletableFuture’s richer API.

Async ProgrammingCompletableFutureJava 21
0 likes · 10 min read
Can Java 21 Virtual Threads Replace CompletableFuture for Async Programming?
Tinker Programmer
Tinker Programmer
Jul 13, 2026 · Backend Development

Choosing the Right Java LTS for Production: Lessons from 12 Years of Java 8‑25 Evolution

The article reviews the twelve‑year evolution of Java LTS releases from 8 to 25, explains the new six‑month release cadence, details common upgrade pitfalls, quantifies performance gains such as virtual threads and ZGC, and provides concrete version‑selection guidance for legacy, mid‑life, and new projects.

Garbage CollectionJDKLTS
0 likes · 16 min read
Choosing the Right Java LTS for Production: Lessons from 12 Years of Java 8‑25 Evolution
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 10, 2026 · Backend Development

Spring Boot API Aggregation: Sequential, CompletableFuture, and Virtual Thread Structured Concurrency Performance

The article benchmarks three Spring Boot aggregation approaches—sequential calls, CompletableFuture parallelism, and virtual‑thread structured concurrency—using JMeter on a Spring Boot 3.5.0 service, showing that CompletableFuture delivers the lowest latency, structured concurrency offers better reliability, and sequential execution performs the worst.

CompletableFutureJMeterPerformance Testing
0 likes · 7 min read
Spring Boot API Aggregation: Sequential, CompletableFuture, and Virtual Thread Structured Concurrency Performance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 4, 2026 · Backend Development

5 Advanced Spring Boot Patterns for Millisecond API Responses

This article presents five advanced Spring Boot 3.5.0 patterns—ETag with conditional requests, read‑write separation, virtual threads, HTTP client connection reuse, and asynchronous processing—to achieve sub‑millisecond API response times, complete with code examples, configuration steps, and performance benefits.

ETagSpring BootVirtual Threads
0 likes · 15 min read
5 Advanced Spring Boot Patterns for Millisecond API Responses
Su San Talks Tech
Su San Talks Tech
Jun 1, 2026 · Backend Development

Can Java 21’s Virtual Threads Make Thread Pools Obsolete?

The article examines whether Java 21’s cheap virtual threads can replace traditional thread pools, explaining the original purpose of pools, their role as natural throttlers, scenarios where virtual threads excel or fail, and practical guidelines to avoid pitfalls like pinning.

Java 21Thread PoolVirtual Threads
0 likes · 7 min read
Can Java 21’s Virtual Threads Make Thread Pools Obsolete?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Fundamentals

Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know

The article examines why many projects still cling to Java 8 and demonstrates eight transformative Java 21 features—including records, sealed classes, pattern‑matching for instanceof, switch expressions, text blocks, virtual threads, structured concurrency, and enhanced APIs—showing code examples and the benefits they bring to performance, readability, and maintainability.

Java 21RecordsSealed Classes
0 likes · 11 min read
Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know
Programmer1970
Programmer1970
May 20, 2026 · Fundamentals

Only 5 of Java 21’s 15 New Features Actually Change Your Code

Java 21, the latest LTS release, adds fifteen JEPs but only five—virtual threads, record patterns, switch pattern matching, string templates, and sequenced collections—significantly alter coding style, offering lightweight concurrency, concise data deconstruction, modern switch syntax, powerful string interpolation, and enhanced collection APIs.

Java 21Record PatternsSequenced Collections
0 likes · 8 min read
Only 5 of Java 21’s 15 New Features Actually Change Your Code
Senior Xiao Ying
Senior Xiao Ying
May 8, 2026 · Backend Development

Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance

Spring Boot 4.0 introduces a milestone upgrade that requires JDK 21, switches to jakarta.* packages, offers first‑class virtual‑thread support, a built‑in declarative HTTP client, native retry annotations, API versioning, and modular auto‑configuration, all aimed at higher cloud‑native performance.

Declarative HTTP ClientJDK 21Modular Auto-Configuration
0 likes · 11 min read
Spring Boot 4.0 with JDK 21 and Virtual Threads: Boosting Performance
Programmer XiaoFu
Programmer XiaoFu
May 8, 2026 · Backend Development

Can Java 21 Virtual Threads Render Thread Pools Obsolete?

The article examines how Java 21’s cheap virtual threads change the role of traditional thread pools, explaining why pooling virtual threads is a bad idea, how thread pools still act as natural throttlers, and which scenarios—especially CPU‑bound work and synchronized blocks—remain unsuitable for virtual threads.

JDK 21PinningSemaphore
0 likes · 8 min read
Can Java 21 Virtual Threads Render Thread Pools Obsolete?
TonyBai
TonyBai
May 7, 2026 · Backend Development

Why an AWS Evangelist Calls Go’s Concurrency a Joke Compared to JVM’s Superior Model

The article revisits the heated debate sparked by AWS evangelist James Ward, who argues that Go’s concurrency primitives are inferior to the JVM’s virtual threads, structured concurrency, and effect systems, using a demanding connection‑pool challenge to illustrate the trade‑offs and guide architects in choosing the right model for their workloads.

Backend ArchitectureEffect SystemsGo
0 likes · 11 min read
Why an AWS Evangelist Calls Go’s Concurrency a Joke Compared to JVM’s Superior Model
Java Tech Enthusiast
Java Tech Enthusiast
May 6, 2026 · Backend Development

Spring Boot 4.1’s Default Virtual Threads Boost Throughput—But Require HikariCP Tuning

Spring Boot 4.1 makes virtual threads the default, dramatically increasing I/O concurrency, yet the unchanged HikariCP maximumPoolSize can exhaust connections; the article explains this incompatibility, shows how to adjust pool settings, enable lazy connections, and outlines a step‑by‑step migration path from 3.x to 4.1.

HikariCPJava 21LazyConnection
0 likes · 19 min read
Spring Boot 4.1’s Default Virtual Threads Boost Throughput—But Require HikariCP Tuning
Java Architect Handbook
Java Architect Handbook
Apr 24, 2026 · Interview Experience

Why Use Coroutines When Threads Already Exist? Java Interview Deep Dive

An interview‑focused analysis explains how processes allocate resources, threads handle CPU scheduling, and coroutines act as lightweight user‑mode threads, comparing their creation costs, switching overhead, and memory usage, and highlights Java 19/21 virtual threads as the Java implementation of coroutines.

Virtual Threadsconcurrencycoroutine
0 likes · 13 min read
Why Use Coroutines When Threads Already Exist? Java Interview Deep Dive
java1234
java1234
Apr 16, 2026 · Backend Development

Why Java Virtual Threads? Deep Dive into Loom’s Principles and Production Pitfalls

The article explains why traditional platform threads are costly, defines Java virtual threads as lightweight JVM‑managed threads that unmount on blocking, compares their performance and limits to platform threads, outlines suitable and unsuitable use cases, provides starter code and best‑practice patterns, and offers a detailed production‑ready checklist to avoid common pitfalls such as pinning, ThreadLocal misuse, and blocking I/O.

PinningProject LoomVirtual Threads
0 likes · 16 min read
Why Java Virtual Threads? Deep Dive into Loom’s Principles and Production Pitfalls
JakartaEE China Community
JakartaEE China Community
Apr 8, 2026 · Backend Development

From Reactive Streams to Virtual Threads: A Deep Dive

The article examines Project Loom's virtual threads, compares them with reactive streams, explores their underlying mechanisms, presents a direct‑style flow library (Jox) that combines both paradigms, and evaluates performance, backpressure, and error handling in Java concurrency.

JoxProject LoomReactive Streams
0 likes · 22 min read
From Reactive Streams to Virtual Threads: A Deep Dive
LuTiao Programming
LuTiao Programming
Mar 26, 2026 · Backend Development

5 Overlooked Java Features That Are Silently Slowing Your JVM

The article demonstrates how five often‑ignored Java 21 capabilities—virtual threads, structured concurrency, ZGC, records, and pattern matching—can dramatically improve throughput and stability, while neglecting them silently degrades JVM performance.

JVMPattern MatchingRecords
0 likes · 7 min read
5 Overlooked Java Features That Are Silently Slowing Your JVM
MeowKitty Programming
MeowKitty Programming
Mar 18, 2026 · Backend Development

Why Sticking to JDK 8 Is Costly: How JDK 22 Closes the Last Gap and JDK 21 Becomes Enterprise Standard

The article analyzes how JDK 21 and JDK 22 dramatically improve language ergonomics, performance, and ecosystem compatibility over JDK 8, providing concrete code examples, benchmark data, and a three‑step migration plan for Java developers facing high‑concurrency and large‑memory workloads.

JDK 21JDK 22Migration
0 likes · 10 min read
Why Sticking to JDK 8 Is Costly: How JDK 22 Closes the Last Gap and JDK 21 Becomes Enterprise Standard
LuTiao Programming
LuTiao Programming
Mar 15, 2026 · Backend Development

How Java Virtual Threads Eliminate Thread‑Pool Bottlenecks and Enable a Single Machine to Handle 100k Requests

The article explains why traditional OS‑based thread pools choke under 100,000 concurrent Java requests, introduces Java 21's Virtual Threads from Project Loom, shows their low‑memory, high‑throughput characteristics, provides Spring Boot configuration and code samples, and warns about synchronization, ThreadLocal and CPU‑bound pitfalls.

I/OProject LoomSpring Boot
0 likes · 10 min read
How Java Virtual Threads Eliminate Thread‑Pool Bottlenecks and Enable a Single Machine to Handle 100k Requests
LuTiao Programming
LuTiao Programming
Mar 2, 2026 · Backend Development

How a Targeted Java Refactor Delivered a 10× Performance Boost

By profiling a three‑year‑old order service and applying six data‑driven optimizations—including log reduction, object‑allocation cuts, HashMap replacement, Java 21 virtual threads, JSON caching, and ZGC tuning—the team achieved a 9.5× throughput increase and a ten‑fold drop in P99 latency.

Eclipse CollectionsGC TuningVirtual Threads
0 likes · 8 min read
How a Targeted Java Refactor Delivered a 10× Performance Boost
Ops Community
Ops Community
Mar 2, 2026 · Backend Development

How to Supercharge Tomcat 11 on JDK 21: Real‑World JVM, Connection Pool, and Virtual Thread Tuning

This guide walks you through practical performance tuning of Tomcat 11 on JDK 21, covering JVM memory settings, GC selection, connector and thread‑pool optimization, virtual‑thread integration, benchmark scripts, security hardening, high‑availability deployment, and comprehensive monitoring and troubleshooting techniques.

DockerG1 GCJDK21
0 likes · 51 min read
How to Supercharge Tomcat 11 on JDK 21: Real‑World JVM, Connection Pool, and Virtual Thread Tuning
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Jan 30, 2026 · Backend Development

How Java Virtual Threads Cut Latency by 31× and Slash CPU Use in Production

This article explains the principles of Java virtual threads, compares them with traditional platform threads, details RedJDK21’s implementation and performance improvements—including up to 31‑fold latency reduction and 24% CPU savings—in large‑scale services at XiaoHongShu, and discusses migration challenges, lock handling, monitoring, and future roadmap.

JVMRedJDK21Virtual Threads
0 likes · 29 min read
How Java Virtual Threads Cut Latency by 31× and Slash CPU Use in Production
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.

DockerJettyNative Image
0 likes · 10 min read
Why Tomcat Beats Jetty 15× with SpringBoot 4 Virtual Threads
LuTiao Programming
LuTiao Programming
Jan 23, 2026 · Backend Development

Are You Still Using Old Java Patterns? 2026 Spring Boot Trends That May Obsolete Them

The article analyzes how Spring Boot 2026 reshapes Java backend development by embracing virtual threads, GraalVM native images, built‑in observability, modern security practices, immutable records, and cloud‑native defaults, urging developers to abandon legacy coding habits in favor of these emerging trends.

Cloud NativeGraalVMNative Image
0 likes · 8 min read
Are You Still Using Old Java Patterns? 2026 Spring Boot Trends That May Obsolete Them
Java Web Project
Java Web Project
Jan 13, 2026 · Backend Development

Mastering Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, GraalVM Native Images, and Advanced Monitoring

This article walks through Spring 6’s core upgrades—including JDK 17 baseline, Project Loom virtual threads, @HttpExchange declarative clients, RFC 7807 ProblemDetail handling, GraalVM native‑image compilation, and Micrometer‑Prometheus monitoring—showing concrete code, performance numbers, migration steps, and real‑world e‑commerce use cases.

GraalVMHTTP clientMonitoring
0 likes · 8 min read
Mastering Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, GraalVM Native Images, and Advanced Monitoring
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.

DockerJettyNative Image
0 likes · 10 min read
Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0
Java Web Project
Java Web Project
Jan 4, 2026 · Backend Development

Unlock Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, and GraalVM Native Images

This article walks through the core upgrades in Spring 6 and Spring Boot 3—raising the JDK baseline, adopting Project Loom virtual threads, using the new @HttpExchange declarative client, standardizing error responses with ProblemDetail, compiling to GraalVM native images, and adding Prometheus monitoring—while providing concrete code examples, performance numbers, and a step‑by‑step migration roadmap.

Cloud NativeGraalVMJava 17
0 likes · 8 min read
Unlock Spring 6 & Boot 3: Virtual Threads, Declarative HTTP, and GraalVM Native Images
Tech Freedom Circle
Tech Freedom Circle
Dec 30, 2025 · Backend Development

How Java Virtual Threads Supercharge Spring Boot: 3× QPS Boost and 67% Memory Savings

This article explains how Java's new virtual threads (Project Loom) can transform Spring Boot applications, delivering up to three‑fold QPS improvements and up to 67% lower memory usage, by replacing heavyweight platform threads with lightweight coroutine‑style execution, and provides detailed comparisons, benchmarks, code samples, and migration guidance.

Project LoomSpring BootVirtual Threads
0 likes · 51 min read
How Java Virtual Threads Supercharge Spring Boot: 3× QPS Boost and 67% Memory Savings
LuTiao Programming
LuTiao Programming
Dec 14, 2025 · Backend Development

How Spring 6 + Boot 3 Supercharges Startup Speed and Concurrency

The article dissects Spring 6 and Boot 3's core capabilities—JDK 17 baseline, Project Loom virtual threads, declarative @HttpExchange client, RFC 7807 error standardization, GraalVM native images, Jakarta EE 9 migration, and Prometheus monitoring—showing benchmark gains and a migration roadmap for high‑concurrency e‑commerce services.

GraalVMPrometheusSpring
0 likes · 9 min read
How Spring 6 + Boot 3 Supercharges Startup Speed and Concurrency
Java Tech Enthusiast
Java Tech Enthusiast
Dec 7, 2025 · Backend Development

Spring Boot 4.0 GA: New Features, Performance Boosts, and Migration Guide

Spring Boot 4.0 GA introduces a modern Java baseline, native virtual‑thread support, GraalVM native image integration, streamlined API versioning, a lightweight @HttpExchange client, enhanced security and observability features, and a list of breaking changes, with migration guidance for developers.

Cloud NativeGraalVMSpring Boot
0 likes · 8 min read
Spring Boot 4.0 GA: New Features, Performance Boosts, and Migration Guide
Java Architecture Diary
Java Architecture Diary
Nov 28, 2025 · Backend Development

Why Spring Cloud 2025.1.0 Is a Major Breakthrough (and What’s Gone)

Spring Cloud 2025.1.0 (Oakwood) marks a true major release built on Spring Boot 4.0 and Spring Framework 7, removing many legacy components, embracing Java 21 virtual threads, and integrating core features directly into the framework, fundamentally reshaping microservice development.

Spring Boot 4Spring CloudVirtual Threads
0 likes · 10 min read
Why Spring Cloud 2025.1.0 Is a Major Breakthrough (and What’s Gone)
Java Tech Enthusiast
Java Tech Enthusiast
Oct 26, 2025 · Fundamentals

Is Java 8 Dead? Discover All New Features from Java 8 to Java 24

This comprehensive guide walks you through the evolution of Java from version 8 to 24, highlighting key language enhancements, new APIs, and performance improvements such as lambda expressions, Stream API, records, sealed classes, virtual threads, and the latest features that modernize Java development for today’s programmers.

Java 8Language FeaturesRecords
0 likes · 46 min read
Is Java 8 Dead? Discover All New Features from Java 8 to Java 24
21CTO
21CTO
Oct 16, 2025 · Backend Development

Top 7 Java Microframeworks for Modern Lightweight Apps – A Deep Dive

This article reviews seven popular Java micro‑frameworks, comparing their popularity, key advantages, and GitHub repositories, while highlighting performance benefits of GraalVM native images and the impact of Java 21 virtual threads for cloud‑native, lightweight web applications.

GraalVMSpring BootVirtual Threads
0 likes · 15 min read
Top 7 Java Microframeworks for Modern Lightweight Apps – A Deep Dive
JavaGuide
JavaGuide
Oct 16, 2025 · Backend Development

Why Upgrading from Java 8 to Java 21 Boosts Development Efficiency

The article walks through the evolution from Java 8 to Java 21, comparing preview and standard features such as pattern‑matching instanceof, switch expressions, text blocks, the new HttpClient API, var type inference, virtual threads, records, immutable collections, improved try‑with‑resources, sequenced collections, and garbage‑collector enhancements, illustrating each with concrete code examples and practical recommendations.

Java 21Pattern MatchingRecord
0 likes · 16 min read
Why Upgrading from Java 8 to Java 21 Boosts Development Efficiency
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 26, 2025 · Backend Development

Boost Spring Batch Performance: Async & Virtual Threads in Spring Boot 3

This article demonstrates how to accelerate Spring Batch jobs in Spring Boot 3 by comparing a default synchronous job with asynchronous processing using ThreadPoolTaskExecutor and then with virtual threads, providing code examples, configuration steps, and performance results that show up to a 90‑fold speedup.

Async ProcessingSpring BatchSpring Boot 3
0 likes · 9 min read
Boost Spring Batch Performance: Async & Virtual Threads in Spring Boot 3
Dunmao Tech Hub
Dunmao Tech Hub
Sep 25, 2025 · Backend Development

Enable Java Virtual Threads in Spring Boot for Million‑Scale Concurrency

This guide explains how Spring Boot 3.5.6 running on JDK 21 can leverage Java virtual threads to handle millions of concurrent requests, covering the concept, environment setup, Maven configuration, enabling the feature, and a simple test controller to verify the thread model.

JVMJava21Virtual Threads
0 likes · 6 min read
Enable Java Virtual Threads in Spring Boot for Million‑Scale Concurrency
Java Architecture Diary
Java Architecture Diary
Sep 22, 2025 · Backend Development

Unlock Massive Concurrency: How Java 25 Virtual Threads Supercharge Spring Apps

Java 25 introduces major upgrades to virtual threads, offering dramatically lower memory usage, near‑zero creation cost, and efficient I/O handling, and this guide explains their advantages, compares them with traditional thread pools and @Async, provides Spring Boot 3.5 configuration examples, and highlights pitfalls and best‑practice tips.

SpringThread PoolVirtual Threads
0 likes · 8 min read
Unlock Massive Concurrency: How Java 25 Virtual Threads Supercharge Spring Apps
macrozheng
macrozheng
Aug 13, 2025 · Backend Development

What’s New in IntelliJ IDEA 2025.2? AI Coding, Java 25, Maven 4, and More

IntelliJ IDEA 2025.2 introduces major AI‑assisted coding upgrades, full Java 25 support, early Maven 4 compatibility, JSpecify nullability annotations, a Spring debugger, virtual‑thread debugging enhancements, and highlights a popular open‑source SpringBoot3 + Vue e‑commerce project for developers.

IntelliJ IDEAJava 25Maven 4
0 likes · 7 min read
What’s New in IntelliJ IDEA 2025.2? AI Coding, Java 25, Maven 4, and More
JakartaEE China Community
JakartaEE China Community
Aug 5, 2025 · Operations

How to Monitor Java Virtual Threads Effectively

This article explains the internal mechanics of Java virtual threads, the role of Continuation, pinned threads, and carrier threads, and provides concrete monitoring techniques using JVM flags, JFR events, and framework-specific considerations for Helidon and Quarkus.

ForkJoinPoolHelidonJFR
0 likes · 11 min read
How to Monitor Java Virtual Threads Effectively
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Jul 24, 2025 · Backend Development

How Xiaohongshu Boosted Java Performance by 10% with a RedJDK Upgrade

Xiaohongshu’s middleware team migrated thousands of Java services from JDK 8 to RedJDK 11/17, achieving over 10% performance gains, 50% GC pause reduction, and eliminating OOM crashes through systematic JDK upgrades, GC tuning, native‑memory improvements, and standardized deployment pipelines.

GC optimizationJDK UpgradeNative Memory
0 likes · 22 min read
How Xiaohongshu Boosted Java Performance by 10% with a RedJDK Upgrade
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 19, 2025 · Backend Development

How Virtual Threads Boost Spring Boot 3 Performance: Real-World Benchmarks

This article demonstrates how Spring Boot 3.2.5 leverages JDK 21 virtual threads to improve asynchronous request handling, comparing platform‑thread and virtual‑thread performance with JMeter, exploring thread‑pool configurations, database access tests, and providing practical code examples and tuning tips.

Async RequestsJMeterPerformance Testing
0 likes · 9 min read
How Virtual Threads Boost Spring Boot 3 Performance: Real-World Benchmarks
Architect
Architect
Jul 13, 2025 · Backend Development

Master Spring 6 & Spring Boot 3: Core Features, Virtual Threads, GraalVM & More

This article provides a comprehensive overview of the Spring ecosystem upgrade, detailing Spring 6 core features such as JDK 17 baseline, Project Loom virtual threads, declarative HTTP clients, RFC‑7807 ProblemDetail handling, GraalVM native images, as well as Spring Boot 3 breakthroughs like Jakarta EE migration, OAuth2 server, Prometheus monitoring, and practical migration roadmaps for cloud‑native applications.

GraalVMPrometheusSpring
0 likes · 8 min read
Master Spring 6 & Spring Boot 3: Core Features, Virtual Threads, GraalVM & More
Java Backend Technology
Java Backend Technology
Jul 8, 2025 · Backend Development

ThreadLocal vs ScopedValue: Why ScopedValue Is the New King in Java Concurrency

ThreadLocal has long served as Java’s go‑to tool for thread‑local data, but its memory‑leak risks and performance penalties become pronounced with virtual threads, while the newer ScopedValue offers automatic cleanup, immutable safety, and superior efficiency, making it a compelling replacement in high‑concurrency scenarios.

ScopedValueThreadLocalVirtual Threads
0 likes · 12 min read
ThreadLocal vs ScopedValue: Why ScopedValue Is the New King in Java Concurrency
macrozheng
macrozheng
Jun 3, 2025 · Backend Development

Discover Spring Boot 4.0 Snapshot: New API Versioning, Virtual Threads & More

Spring Boot 4.0 (SNAPSHOT) introduces built‑in Spring Framework 7.0 support, elegant API versioning via @RequestMapping, flexible bean registration, virtual thread integration for massive concurrency, JSpecify null‑safety annotations, enhanced SPEL, Jackson 3.x migration, servlet upgrades, and native GraalVM image support, all illustrated with code samples.

JSpecifySpELSpring Boot
0 likes · 7 min read
Discover Spring Boot 4.0 Snapshot: New API Versioning, Virtual Threads & More
Architecture Digest
Architecture Digest
May 28, 2025 · Backend Development

Spring 6.0 Core Features and Spring Boot 3.0 Breakthroughs: Virtual Threads, Declarative HTTP Clients, ProblemDetail, GraalVM Native Images, and Monitoring

This article explains the major enhancements in Spring 6.0 and Spring Boot 3.0—including a JDK 17 baseline, Project Loom virtual threads, @HttpExchange declarative HTTP clients, RFC 7807 ProblemDetail error handling, GraalVM native image support, AOT compilation, OAuth2 server setup, and Micrometer‑Prometheus monitoring—while providing a practical upgrade roadmap and code samples.

GraalVMSpringVirtual Threads
0 likes · 6 min read
Spring 6.0 Core Features and Spring Boot 3.0 Breakthroughs: Virtual Threads, Declarative HTTP Clients, ProblemDetail, GraalVM Native Images, and Monitoring
Architect
Architect
May 25, 2025 · Backend Development

Using Project Loom Virtual Threads in Spring Boot: Setup, Code Samples, and Performance Testing

This article demonstrates how to integrate Project Loom virtual threads into a Spring Boot application, provides the necessary Maven configuration and Java code, runs load tests with JMeter to compare response times against traditional threads, and shows the significant throughput improvements achieved on the same hardware.

Performance TestingProject LoomSpring Boot
0 likes · 9 min read
Using Project Loom Virtual Threads in Spring Boot: Setup, Code Samples, and Performance Testing
Java Tech Enthusiast
Java Tech Enthusiast
May 8, 2025 · Backend Development

Comprehensive Overview of Spring Ecosystem Upgrades: Spring 6 Core Features, Spring Boot 3.0 Breakthroughs, and Migration Roadmap

The article surveys the Spring 6 and Spring Boot 3.0 upgrades—JDK 17 baseline, virtual threads, @HttpExchange client, RFC 7807 ProblemDetail handling, GraalVM native images, Jakarta EE 9+ migration, enhanced auto‑configuration, OAuth2 authorization server, Prometheus‑compatible metrics—and provides a step‑by‑step migration roadmap with practical recommendations for modernizing e‑commerce applications.

Cloud NativeGraalVMSpring
0 likes · 7 min read
Comprehensive Overview of Spring Ecosystem Upgrades: Spring 6 Core Features, Spring Boot 3.0 Breakthroughs, and Migration Roadmap
Code Ape Tech Column
Code Ape Tech Column
May 7, 2025 · Backend Development

Detailed Overview of Spring 6.0 Core Features and Spring Boot 3.0 Enhancements

This article provides a comprehensive guide to Spring 6.0’s new baseline JDK 17 requirement, virtual threads, declarative HTTP clients, RFC‑7807 ProblemDetail handling, GraalVM native image support, and Spring Boot 3.0 improvements such as Jakarta EE migration, OAuth2 authorization server, Prometheus monitoring, and practical migration steps for enterprise applications.

GraalVMPrometheusSpring
0 likes · 8 min read
Detailed Overview of Spring 6.0 Core Features and Spring Boot 3.0 Enhancements
Selected Java Interview Questions
Selected Java Interview Questions
Apr 28, 2025 · Backend Development

Understanding Java Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison

This article introduces Java 21's virtual threads, explains their lightweight and high‑concurrency advantages, demonstrates basic usage and Spring Boot integration with code examples, and compares their performance against traditional threads through practical experiments and additional optimization tips.

Spring BootVirtual Threadsbackend
0 likes · 7 min read
Understanding Java Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison
Architecture Digest
Architecture Digest
Apr 27, 2025 · Backend Development

Using Java 21 Virtual Threads in Spring Boot: Basics, Performance Comparison, and Best Practices

This article introduces Java 21 virtual threads, explains their lightweight and high‑concurrency advantages, demonstrates basic and delayed creation, shows how to enable them in Spring Boot with minimal configuration, compares performance against traditional threads, and provides additional Java performance optimization tips.

Java 21Spring BootVirtual Threads
0 likes · 6 min read
Using Java 21 Virtual Threads in Spring Boot: Basics, Performance Comparison, and Best Practices
Cognitive Technology Team
Cognitive Technology Team
Apr 6, 2025 · Backend Development

Understanding Java Virtual Threads: Construction, Performance, and Best Practices

This article explains Java virtual threads introduced by Project Loom, compares them with platform threads in terms of memory usage and creation time, provides code examples for creating and managing virtual threads, and outlines practical guidelines and use‑cases for high‑concurrency backend applications.

JVMVirtual Threadsconcurrency
0 likes · 12 min read
Understanding Java Virtual Threads: Construction, Performance, and Best Practices
DaTaobao Tech
DaTaobao Tech
Apr 2, 2025 · Backend Development

Understanding Java Virtual Threads: From Traditional Thread Models to Stackful Coroutines

The article traces Java’s concurrency evolution from heavyweight thread‑per‑request and complex reactive models to JDK 21’s virtual threads, which act as stack‑ful coroutines offering lightweight, heap‑allocated threads, full stack traces, and blocking‑I/O compatibility while preserving the familiar thread API.

Async ProgrammingCoroutinesJDK21
0 likes · 24 min read
Understanding Java Virtual Threads: From Traditional Thread Models to Stackful Coroutines
Tencent Cloud Developer
Tencent Cloud Developer
Mar 13, 2025 · Backend Development

Modern Java Features: Lambda, Stream API, Project Loom, Panama, and Valhalla

Modern Java introduces lambda expressions and the Stream API for functional programming, while upcoming projects—Loom’s virtual threads, Panama’s foreign function and memory API, and Valhalla’s value classes and generic specialization—address concurrency, native interop, and performance, dramatically enhancing developer productivity and language capabilities.

LambdaProject LoomProject Panama
0 likes · 18 min read
Modern Java Features: Lambda, Stream API, Project Loom, Panama, and Valhalla
Architecture Digest
Architecture Digest
Mar 5, 2025 · Backend Development

Understanding Java Virtual Threads and Their Performance Benefits in Spring Boot

This article introduces Java 21's virtual threads, explains their lightweight and high‑concurrency advantages, demonstrates basic and delayed usage with code examples, shows how to enable them in Spring Boot, compares performance against traditional threads, and offers additional Java performance‑tuning techniques.

Java 21Spring BootVirtual Threads
0 likes · 7 min read
Understanding Java Virtual Threads and Their Performance Benefits in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Mar 5, 2025 · Backend Development

Unlock Massive Concurrency: How Java 21 Virtual Threads Supercharge Spring Boot

Java 21’s virtual threads provide lightweight, high‑concurrency execution managed by the JVM, enabling developers to create hundreds of thousands of threads with minimal overhead; this article explains their basics, demonstrates Spring Boot integration, compares performance against traditional threads, and shares additional Java optimization techniques.

Spring BootVirtual Threadsconcurrency
0 likes · 8 min read
Unlock Massive Concurrency: How Java 21 Virtual Threads Supercharge Spring Boot
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 5, 2025 · Backend Development

Java Virtual Threads: Boost Performance, Fix Pin Issues, and Migrate Easily

This article explains the evolution of Java virtual threads in AJDK, details performance improvements, examines pinning problems caused by synchronization and native code, provides migration steps, configuration tips, and code examples, and introduces diagnostic tools for troubleshooting virtual thread issues.

PinningVirtual Threadsconcurrency
0 likes · 22 min read
Java Virtual Threads: Boost Performance, Fix Pin Issues, and Migrate Easily
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2025 · Backend Development

Java 21 Virtual Threads: Benefits, Usage, and Performance Comparison

Java 21’s virtual threads provide a lightweight, JVM‑managed alternative to OS threads that enables hundreds of thousands of concurrent tasks, simplifies scheduling, integrates easily into Spring Boot via a preview flag and Tomcat executor, and delivers up to five‑fold speed‑ups and lower latency in high‑load I/O‑intensive applications.

Spring BootVirtual Threadsconcurrency
0 likes · 7 min read
Java 21 Virtual Threads: Benefits, Usage, and Performance Comparison
Su San Talks Tech
Su San Talks Tech
Jan 16, 2025 · Backend Development

Boost Java Performance with Virtual Threads: A Hands‑On Guide

This article explains Java 21's virtual threads, their lightweight and auto‑managed nature, demonstrates basic usage and Spring Boot integration, compares performance against traditional threads, and offers additional Java performance tips for high‑concurrency applications.

Spring BootVirtual Threadsconcurrency
0 likes · 8 min read
Boost Java Performance with Virtual Threads: A Hands‑On Guide
DaTaobao Tech
DaTaobao Tech
Jan 6, 2025 · Backend Development

Java 21 LTS Features Overview and Practical Guide

This article walks readers through upgrading from Java 11 to the Java 21 LTS by explaining the six‑month release cadence, JEP process, and SDKman setup, then demonstrates practical code examples for twelve new features—including preview Unnamed Classes, String Templates, Scoped Values, Structured Concurrency, Vector API, Virtual Threads, and Generational ZGC—highlighting their motivations, benefits, and production considerations.

JDK LTSJVMJava 21
0 likes · 16 min read
Java 21 LTS Features Overview and Practical Guide
JavaEdge
JavaEdge
Dec 31, 2024 · Backend Development

2024 Java Ecosystem Trends: Adoption, AI Integration, and Emerging Foundations

The 2024 Java trend report analyzes JDK adoption rates, AI tooling, the rise of the Commonhaus Foundation, Spring and Jakarta EE evolution, virtual thread adoption, and community insights, offering guidance for technical leaders and developers planning their future investments.

AICommonhausEcosystem
0 likes · 16 min read
2024 Java Ecosystem Trends: Adoption, AI Integration, and Emerging Foundations
Architecture Digest
Architecture Digest
Dec 26, 2024 · Backend Development

Understanding Java 21 Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison

This article introduces Java 21 virtual threads, explains their lightweight, high‑concurrency and automatic management advantages, demonstrates basic and delayed usage with code examples, shows how to enable them in Spring Boot, and compares their performance against traditional threads in various scenarios.

Java 21Spring BootVirtual Threads
0 likes · 7 min read
Understanding Java 21 Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison
Architecture Digest
Architecture Digest
Dec 10, 2024 · Backend Development

Understanding Java Virtual Threads and Their Use in Spring Boot

This article explains Java 21's virtual threads, their lightweight and high‑concurrency advantages, demonstrates basic creation and Spring Boot integration, compares performance against traditional threads, and offers additional Java performance optimization techniques.

Java 21Spring BootVirtual Threads
0 likes · 7 min read
Understanding Java Virtual Threads and Their Use in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Dec 10, 2024 · Backend Development

Introducing Java 21 Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison

Java 21's virtual threads provide lightweight, high‑concurrency execution managed by the JVM, and this article explains their fundamentals, demonstrates basic creation, shows how to enable them in Spring Boot, and presents performance benchmarks comparing virtual threads to traditional threads.

JVMSpring BootVirtual Threads
0 likes · 8 min read
Introducing Java 21 Virtual Threads: Basics, Spring Boot Integration, and Performance Comparison
Java Backend Technology
Java Backend Technology
Oct 8, 2024 · Fundamentals

Mastering Java StructuredTaskScope: Simplify Concurrency with Virtual Threads

JEP 453 integrates StructuredTaskScope into Java 21, offering a preview API that replaces Future with Subtask, enabling lightweight virtual‑thread based concurrent tasks, such as fetching data from multiple servers and automatically cancelling slower calls, while simplifying error handling and improving observability.

JDK21StructuredTaskScopeVirtual Threads
0 likes · 8 min read
Mastering Java StructuredTaskScope: Simplify Concurrency with Virtual Threads
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 18, 2024 · Backend Development

Unlock Massive Concurrency with Java Virtual Threads: A Deep Dive

This article explores Java virtual threads introduced in JDK 21, detailing their architecture, implementation, practical usage with Thread and Executors APIs, performance comparisons against platform threads, best‑practice guidelines, and benchmark results demonstrating superior throughput for high‑concurrency server applications.

JDK21Virtual Threadsconcurrency
0 likes · 24 min read
Unlock Massive Concurrency with Java Virtual Threads: A Deep Dive
DaTaobao Tech
DaTaobao Tech
Aug 28, 2024 · Backend Development

Understanding Java Virtual Threads: Principles, Implementation, and Performance

Java virtual threads, introduced in JDK 21, decouple Java threads from OS threads by using continuations and a ForkJoinPool scheduler, allowing millions of cheap, blocking‑friendly threads that boost throughput and simplify concurrent code compared to traditional platform threads or reactive frameworks, as demonstrated by performance benchmarks.

JDK21Virtual Threadsjava
0 likes · 23 min read
Understanding Java Virtual Threads: Principles, Implementation, and Performance
IT Xianyu
IT Xianyu
Aug 23, 2024 · Backend Development

Using Java Virtual Threads in Spring Boot: Configuration and Performance Comparison

The article explains Java's virtual threads introduced in Java 19, compares them with traditional threads, and demonstrates how to configure Spring Boot to use virtual threads, including code samples and performance benchmarks that show dramatic latency reductions in both async services and HTTP requests.

Spring BootVirtual Threadsjava
0 likes · 6 min read
Using Java Virtual Threads in Spring Boot: Configuration and Performance Comparison
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 5, 2024 · Backend Development

Unlock Massive Concurrency: How Java Virtual Threads Transform Backend Development

This article explains Java virtual threads, contrasting them with platform threads, and shows how to create, schedule, and use them effectively with Thread.Builder and Executors to achieve high‑throughput, low‑latency server applications while avoiding common pitfalls like pooling and pinning.

JDK21Virtual Threadsbackend development
0 likes · 14 min read
Unlock Massive Concurrency: How Java Virtual Threads Transform Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 10, 2024 · Backend Development

Master Spring Boot 3 Virtual Threads: Prevent Daemon Issues & Keep Apps Alive

This guide explains how Spring Boot 3.2+ leverages JDK 21 virtual threads, demonstrates common pitfalls in non‑web applications—especially daemon thread termination—and shows how to enable keep‑alive configuration to ensure your tasks keep running, complete with code examples and performance insights.

Spring BootVirtual Threadsconcurrency
0 likes · 9 min read
Master Spring Boot 3 Virtual Threads: Prevent Daemon Issues & Keep Apps Alive
DaTaobao Tech
DaTaobao Tech
Mar 20, 2024 · Backend Development

Understanding Java Stream Gather API and the mapConcurrent Operator

The article explains Java 22’s new Stream Gather API, which extends the traditional Stream model with custom Gatherers that can emit zero‑to‑many elements, enabling stateful, parallel operations such as a concurrency‑controlled mapConcurrent operator built on virtual threads, and compares it to Reactor‑core and Pekko‑Stream.

Functional ProgrammingGather APIStream API
0 likes · 14 min read
Understanding Java Stream Gather API and the mapConcurrent Operator
Programmer DD
Programmer DD
Feb 20, 2024 · Backend Development

How to Throttle Java Virtual Threads with Semaphores for Optimal Throughput

This article explains how to manage the throughput of Java 21 virtual threads by using Executors to create them and applying java.util.concurrent.Semaphore to limit concurrent execution, ensuring efficient and safe concurrency without pooling virtual threads.

SemaphoreVirtual Threadsbackend development
0 likes · 4 min read
How to Throttle Java Virtual Threads with Semaphores for Optimal Throughput
Programmer DD
Programmer DD
Jan 18, 2024 · Backend Development

Why Virtual Threads Lag Behind WebFlux in Spring Boot MySQL Performance

This article examines a performance comparison of Spring Boot applications using physical threads, Java virtual threads, and WebFlux for JWT verification with MySQL, detailing test setup, code examples, benchmark results across various concurrency levels, and concluding that virtual threads perform worst due to MySQL driver incompatibility.

MySQLSpring BootVirtual Threads
0 likes · 9 min read
Why Virtual Threads Lag Behind WebFlux in Spring Boot MySQL Performance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 16, 2024 · Backend Development

Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads

This guide walks through Spring 6’s new capabilities—including Java 17 baseline, Jakarta namespace migration, HTTP interface proxies with @HttpExchange, WebClient integration via JDK HttpClient, internationalized ProblemDetail handling, the RestClient API, and executing asynchronous tasks on virtual threads—all demonstrated with concise code examples.

HTTPProblemDetailRestClient
0 likes · 7 min read
Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads
Programmer DD
Programmer DD
Jan 5, 2024 · Backend Development

How Fast Are Virtual Threads in Spring Boot 3.2 for Static File Servers?

This article evaluates the performance of Spring Boot 3.2's virtual threads when serving static files, comparing them with traditional platform threads across various concurrency levels, and concludes that platform threads slightly outperform virtual threads in this I/O‑bound scenario while suggesting better use cases for database‑driven workloads.

Java 21Spring BootStatic File Server
0 likes · 12 min read
How Fast Are Virtual Threads in Spring Boot 3.2 for Static File Servers?