Tagged articles

Virtual Threads

146 articles · Page 2 of 2
FunTester
FunTester
Jan 3, 2024 · Backend Development

Design and Implementation of a Java Virtual Thread Asynchronous Task Framework

This article introduces a Java virtual‑thread based asynchronous task framework, detailing its design constraints, a thread‑safe task queue, daemon thread management, and overloaded execute methods for Runnable and Groovy Closure, along with code examples and performance testing considerations.

Daemon ThreadTask queueVirtual Threads
0 likes · 9 min read
Design and Implementation of a Java Virtual Thread Asynchronous Task Framework
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.

GraalVMJava 21Native Image
0 likes · 9 min read
Exploring Spring Boot 3.2: Java 21, Virtual Threads, and GraalVM Native Images
Bitu Technology
Bitu Technology
Dec 8, 2023 · Backend Development

JDK Virtual Threads: The Ultimate Solution for Java Concurrency – Insights from the Scala & Java Meetup

The article recaps a Scala & Java meetup where experts discussed the challenges of traditional Java threading, introduced JDK virtual threads as a low‑overhead concurrency solution, examined their benefits and limitations, and explored the impact of virtual threads on Scala and reactive programming.

JDKReactive ProgrammingVirtual Threads
0 likes · 9 min read
JDK Virtual Threads: The Ultimate Solution for Java Concurrency – Insights from the Scala & Java Meetup
JavaEdge
JavaEdge
Dec 7, 2023 · Backend Development

Why Java’s Blocking Model Is a Bottleneck and How Virtual Threads Solve It

Java’s traditional synchronous blocking model wastes thread resources during I/O, leading to scalability limits, while asynchronous, reactive, and especially Java 21’s virtual threads offer non‑blocking execution paths that improve performance and simplify development without complex reactive pipelines.

Reactive ProgrammingVirtual Threadsasync
0 likes · 11 min read
Why Java’s Blocking Model Is a Bottleneck and How Virtual Threads Solve It
Bitu Technology
Bitu Technology
Nov 30, 2023 · Backend Development

Virtual Threads: The Ultimate JDK Concurrency Solution – Highlights from the Scala & Java Meetup

The article recaps a Scala & Java meetup where experts discussed Java virtual threads as a breakthrough for JDK concurrency, examined their advantages over traditional threads, addressed limitations, explored their impact on Scala and other JVM languages, and included audience Q&A and community announcements.

JDKVirtual Threadsbackend development
0 likes · 9 min read
Virtual Threads: The Ultimate JDK Concurrency Solution – Highlights from the Scala & Java Meetup
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 21Native Image
0 likes · 8 min read
Exploring Spring Boot 3.2 with Java 21, GraalVM Native Images, and Virtual Threads
Programmer DD
Programmer DD
Nov 24, 2023 · Backend Development

What’s New in Spring Boot 3.2? Explore Java 21 Features and Virtual Threads

Spring Boot 3.2, released shortly after Java 21, brings a host of enhancements such as virtual thread support, CRaC checkpoint restore, SSL bundle reloading, improved observability, new RestClient and JdbcClient, Jetty 12, Pulsar, Kafka and RabbitMQ SSL, redesigned nested JAR handling, Docker image build upgrades, and a comprehensive video walkthrough by Josh Long.

DockerJava 21Kafka
0 likes · 7 min read
What’s New in Spring Boot 3.2? Explore Java 21 Features and Virtual Threads
Architect's Tech Stack
Architect's Tech Stack
Nov 23, 2023 · Backend Development

Java 21 Deprecates Windows 32‑bit x86 Port and Dynamic Agent Loading

The article explains why Java 21 deprecates the Windows 32‑bit x86 port and dynamic agent loading, describes the technical reasons, shows the new configuration options and related warnings, and discusses the impact on virtual threads and best practices for avoiding deprecated APIs.

Dynamic AgentsJDKVirtual Threads
0 likes · 11 min read
Java 21 Deprecates Windows 32‑bit x86 Port and Dynamic Agent Loading
Code Ape Tech Column
Code Ape Tech Column
Nov 20, 2023 · Backend Development

Using Project Loom Virtual Threads in Spring Boot with JMeter Load Testing

This article demonstrates how to integrate Project Loom virtual threads into a Spring Boot application, configure Maven and Tomcat, implement REST endpoints, run JMeter load tests, and compare response times between traditional and virtual threads to showcase significant performance improvements.

JMeterPerformance TestingProject Loom
0 likes · 8 min read
Using Project Loom Virtual Threads in Spring Boot with JMeter Load Testing
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 3, 2023 · Backend Development

Unlock Massive Concurrency in Java with Virtual Threads and Structured Concurrency

This article introduces Java virtual threads, compares them with traditional platform threads, demonstrates multiple creation and execution patterns, showcases performance benefits through code examples, and explains structured concurrency as a preview feature for building high‑throughput, scalable backend applications.

Spring BootStructured ConcurrencyThread Pools
0 likes · 15 min read
Unlock Massive Concurrency in Java with Virtual Threads and Structured Concurrency
macrozheng
macrozheng
Oct 27, 2023 · Backend Development

Unlock 20× Faster Java Concurrency with JDK21 Virtual Threads

This article explains JDK21's new virtual threads, compares them with traditional thread pools through a 10,000‑thread benchmark, shows over 20‑fold performance gains, and provides practical code examples and configuration tips for Java developers.

JDK21Java concurrencyPerformance Test
0 likes · 8 min read
Unlock 20× Faster Java Concurrency with JDK21 Virtual Threads
Alibaba Cloud Native
Alibaba Cloud Native
Oct 25, 2023 · Backend Development

Unlock Java 21: Virtual Threads, Generational ZGC, and ARMS Monitoring Guide

This article introduces Java 21’s major enhancements—including lightweight virtual threads and generational ZGC—provides code samples for creating virtual threads and enabling ZGC, demonstrates a Spring Boot 3.x application using record patterns, and explains how to monitor Java 21 services with Alibaba Cloud ARMS on ACK.

ARMS MonitoringGenerational ZGCJava 21
0 likes · 12 min read
Unlock Java 21: Virtual Threads, Generational ZGC, and ARMS Monitoring Guide
Selected Java Interview Questions
Selected Java Interview Questions
Oct 10, 2023 · Fundamentals

New Features in Java 21: Project Amber, Loom, Panama, and Core Library Enhancements

Java 21, released on September 19 as a long‑term‑support release with eight years of Oracle support, introduces fifteen JEPs—including preview string templates, record patterns, switch pattern matching, virtual threads, scoped values, structured concurrency, foreign function & memory APIs, and a new sequenced‑collection interface—along with numerous performance, security, and deprecation updates, all illustrated with code examples.

JDK21Project AmberProject Loom
0 likes · 13 min read
New Features in Java 21: Project Amber, Loom, Panama, and Core Library Enhancements
Programmer DD
Programmer DD
Sep 28, 2023 · Backend Development

Master Java 21 Virtual Threads: Creation, Usage, and Best Practices

This article explains Java 21's virtual threads, their lightweight nature, and provides step‑by‑step code examples for creating and managing them via static builders, ExecutorService, and thread factories, helping developers improve concurrency and scalability in Java applications.

Java 21Thread APIVirtual Threads
0 likes · 6 min read
Master Java 21 Virtual Threads: Creation, Usage, and Best Practices
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.

GraalVMJDK21Native Image
0 likes · 4 min read
GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support
21CTO
21CTO
Sep 24, 2023 · Backend Development

Why Java 21 Is Driving the Surge in Spring Cloud Adoption

Oracle's Java 21 release introduces virtual threads, record patterns, ordered collections and a preview FFM API, while Eclipse survey data shows rising Spring and Spring Boot usage and accelerating cloud‑native adoption among Java developers.

Cloud NativeJava 21Spring Boot
0 likes · 5 min read
Why Java 21 Is Driving the Surge in Spring Cloud Adoption
Java Architecture Diary
Java Architecture Diary
Sep 21, 2023 · Backend Development

Unlock Java 21: New Features, Virtual Threads, and Migration Tips

Java 21, the latest LTS release, introduces virtual threads, sequenced collections, record patterns, and other enhancements; the article explains these new features, guides developers on configuring IDEs and runtimes with Azul Zulu and IntelliJ IDEA, and resolves Lombok incompatibility by updating to version 1.18.30.

Java 21LombokSpring Boot
0 likes · 4 min read
Unlock Java 21: New Features, Virtual Threads, and Migration Tips
21CTO
21CTO
Sep 20, 2023 · Backend Development

What’s New in Java 21? Explore 15 JEPs, Preview Features, and Performance Boosts

Java 21, the latest long‑term support release, brings 15 JEPs—including string templates, record patterns, virtual threads, and a foreign function API—along with extensive performance, security, and maintenance updates, while extending Java 11 support through 2032.

JEPJava 21Virtual Threads
0 likes · 12 min read
What’s New in Java 21? Explore 15 JEPs, Preview Features, and Performance Boosts
Su San Talks Tech
Su San Talks Tech
Sep 20, 2023 · Backend Development

JDK 21 GA: All New Features, Virtual Threads & Generational ZGC Explained

The article introduces the official General Availability release of JDK 21, explains version naming conventions such as Alpha, Beta, RC, GA and LTS, and details its fifteen new features—including Virtual Threads, preview language enhancements, generational ZGC, and the removal of Shenandoah—while showing how to enable them.

Generational ZGCJDK 21Virtual Threads
0 likes · 11 min read
JDK 21 GA: All New Features, Virtual Threads & Generational ZGC Explained
Programmer DD
Programmer DD
Sep 19, 2023 · Backend Development

Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?

This article summarizes a performance comparison between Spring Boot applications using virtual threads and those built with Spring WebFlux, detailing the test scenario of JWT verification and MySQL queries, the environment, code implementations, benchmark results across various concurrency levels, and concluding that WebFlux outperforms virtual‑threaded Spring Boot.

JWTMySQLSpring Boot
0 likes · 9 min read
Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?
政采云技术
政采云技术
Sep 6, 2023 · Fundamentals

Understanding Threads, Multithreading, and Virtual Threads in Java

This article explains the concept of threads in computer science, demonstrates how Java encapsulates threads with the Thread class, shows basic and multithreaded examples, introduces thread pools and their management, and details the new virtual thread model introduced by Project Loom for high‑throughput, low‑overhead concurrency.

JDKThread PoolVirtual Threads
0 likes · 15 min read
Understanding Threads, Multithreading, and Virtual Threads in Java
Java Architecture Diary
Java Architecture Diary
Jun 21, 2023 · Backend Development

Boost Java Concurrency with Project Loom: A Hands‑On Guide to Virtual Threads

Learn how Project Loom’s virtual threads can replace heavyweight OS threads in Java Spring Boot applications, enabling one‑thread‑per‑request models, improving throughput under high concurrency, with step‑by‑step setup, code samples, and performance comparisons across 100‑, 300‑ and 500‑thread tests.

Java concurrencyPerformance TestingProject Loom
0 likes · 7 min read
Boost Java Concurrency with Project Loom: A Hands‑On Guide to Virtual Threads
Laravel Tech Community
Laravel Tech Community
Jun 14, 2023 · Backend Development

Apache Tomcat 10.1.10 Released with Jakarta EE 10 Support and New Features

Apache Tomcat 10.1.10 has been released, bringing Jakarta EE 10 support, automatic migration of Java EE apps via the Jakarta EE Migration Tool, and notable updates such as virtual thread support, RFC‑9218 HTTP/2 priority, deprecation of xssProtectionEnabled, and an upgraded Tomcat Native 2.0.4 with OpenSSL 3.0.9.

Apache TomcatHTTP/2Jakarta EE
0 likes · 2 min read
Apache Tomcat 10.1.10 Released with Jakarta EE 10 Support and New Features
ITPUB
ITPUB
May 29, 2023 · Fundamentals

Is Java Really Obsolete? Exploring Its Evolution, Challenges, and Future

The article examines Java's 27‑year history, comparing its performance, startup time, and memory usage against modern languages and cloud‑native demands, while detailing JDK feature releases, module system, garbage collectors, AOT compilation, virtual threads, value types, GraalVM, and emerging frameworks to assess Java's relevance today and tomorrow.

AOTGarbage CollectionGraalVM
0 likes · 42 min read
Is Java Really Obsolete? Exploring Its Evolution, Challenges, and Future
JD Tech
JD Tech
May 11, 2023 · Fundamentals

Evolution of Java Multithreading: From Manual Gear to Virtual Threads

This article systematically traces the evolution of Java multithreading from the early native Thread model through the introduction of java.util.concurrent and synchronized optimizations to the modern virtual thread era, highlighting key concepts, milestones, and performance impacts.

JDKJava 19Virtual Threads
0 likes · 19 min read
Evolution of Java Multithreading: From Manual Gear to Virtual Threads
Java Architect Essentials
Java Architect Essentials
May 3, 2023 · Backend Development

JDK 20 Release Highlights: New Features and Improvements

JDK 20, a short‑term support release of Java, introduces seven JEPs—including Scoped Values, Record Patterns, Virtual Threads, Structured Concurrency, and the Vector API—along with numerous enhancements and bug fixes, while remaining production‑ready and paving the way for the upcoming JDK 21 LTS.

Record PatternsScoped ValuesVirtual Threads
0 likes · 5 min read
JDK 20 Release Highlights: New Features and Improvements
IT Services Circle
IT Services Circle
Apr 25, 2023 · Backend Development

Understanding Java Virtual Threads (Coroutines) and Their Impact on Server Concurrency

The article explains Java's new Virtual Thread (coroutine) feature, compares the traditional thread‑per‑request model with asynchronous and coroutine approaches, discusses Little's Law for scalability, and outlines the benefits and pitfalls of using coroutines in server‑side Java applications.

Async ProgrammingCoroutinesServer Scalability
0 likes · 10 min read
Understanding Java Virtual Threads (Coroutines) and Their Impact on Server Concurrency
21CTO
21CTO
Apr 6, 2023 · Backend Development

What’s New in JDK 20? A Quick Look at the Latest Java Features

JDK 20, a short‑term support release, brings six months of maintenance and introduces seven JEPs—including Scoped Values, Record Patterns, Pattern Matching for switch, Foreign Function & Memory API, Virtual Threads, Structured Concurrency, and the Vector API—each at various incubation or preview stages, while preparing for the upcoming LTS JDK 21.

JDK 20Pattern MatchingScoped Values
0 likes · 5 min read
What’s New in JDK 20? A Quick Look at the Latest Java Features
Programmer DD
Programmer DD
Mar 23, 2023 · Backend Development

What’s New in JDK 20? 7 Cutting‑Edge Features You Must Know

JDK 20, a short‑term support release, brings seven new JEPs—including Scoped Values, Record Patterns, and Virtual Threads—alongside numerous enhancements and bug fixes, positioning it for production use while previewing features that will shape the upcoming JDK 21 LTS.

JDK 20JEPPattern Matching
0 likes · 6 min read
What’s New in JDK 20? 7 Cutting‑Edge Features You Must Know
JD Cloud Developers
JD Cloud Developers
Mar 1, 2023 · Fundamentals

From Manual to Autonomous: Java Multithreading Evolution & Virtual Threads

This article chronicles the evolution of Java multithreading from early native threads through the introduction of the concurrency utilities, lock optimizations, the Fork/Join framework, CompletableFuture, reactive streams, and finally virtual threads in JDK 19, explaining each milestone, its motivations, and its impact on modern Java development.

JDKJava 19Virtual Threads
0 likes · 26 min read
From Manual to Autonomous: Java Multithreading Evolution & Virtual Threads
Top Architect
Top Architect
Oct 27, 2022 · Backend Development

Spring Framework 6.0 RC1 Released: Key Features and Updates

Spring Framework 6.0 RC1 introduces Java 17+ requirement, migration to Jakarta EE 9+, AOT compilation support, virtual‑thread integration, and updated compatibility with Tomcat 10, Jetty 11, and Hibernate 6.1, while adding new HTTP client features and observability enhancements.

AOTGraalVMJakarta EE
0 likes · 5 min read
Spring Framework 6.0 RC1 Released: Key Features and Updates
Code Ape Tech Column
Code Ape Tech Column
Oct 24, 2022 · Backend Development

Spring Framework 6.0 RC1 Released: Key Features and Changes

Spring Framework 6.0 RC1 has been released, requiring Java 17+, migrating to Jakarta EE 9+ namespaces, supporting the latest web containers and Hibernate ORM, introducing AOT compilation, virtual‑thread executor support, new @HttpExchange client, RFC 7807 handling, Micrometer observability, and more.

AOTJakarta EEJava 17
0 likes · 7 min read
Spring Framework 6.0 RC1 Released: Key Features and Changes
Programmer DD
Programmer DD
Oct 17, 2022 · Backend Development

Spring Framework 6.0 RC1: Java 17+, Jakarta EE, AOT & Virtual Thread Highlights

Spring Framework 6.0 RC1, requiring Java 17+, migrates to Jakarta EE 9+, adds AOT compilation support, enables virtual‑thread execution via Project Loom, updates to modern containers like Tomcat 10 and Jetty 11, and introduces new features such as @HttpExchange client, RFC 7807 handling, and Micrometer observability.

AOTJakarta EEJava 17
0 likes · 4 min read
Spring Framework 6.0 RC1: Java 17+, Jakarta EE, AOT & Virtual Thread Highlights
macrozheng
macrozheng
Sep 28, 2022 · Backend Development

Why Java 19 Virtual Threads Outperform Traditional Threads and Go Goroutines

This article introduces Java 19's virtual threads, compares their performance and scheduling with traditional platform threads and Go goroutines, provides practical code examples, benchmark results, and migration guidelines, and explains the underlying M:N scheduling mechanisms that make virtual threads more efficient for high‑concurrency, I/O‑bound workloads.

GoVirtual Threadsconcurrency
0 likes · 22 min read
Why Java 19 Virtual Threads Outperform Traditional Threads and Go Goroutines
Programmer DD
Programmer DD
Aug 1, 2022 · Fundamentals

What’s New in JDK 19? 7 Preview Features Explained

This article outlines the seven preview features introduced in JDK 19—including Record Patterns, Linux/RISC‑V port, Foreign Function & Memory API, Virtual Threads, Vector API, Switch Pattern Matching, and Structured Concurrency—while also summarizing the release timeline and noting the trend of fewer features per Java release.

JDK 19Virtual Threadsjava
0 likes · 6 min read
What’s New in JDK 19? 7 Preview Features Explained
macrozheng
macrozheng
Apr 19, 2022 · Backend Development

Why Java Virtual Threads Are a Game-Changer for High-Concurrency Backends

Java virtual threads, introduced in JEP 425, provide a lightweight, low‑cost alternative to traditional platform threads, enabling massive concurrency without the overhead of OS threads, improving throughput for server‑side applications while preserving familiar APIs and enhancing observability.

JEP425Thread APIVirtual Threads
0 likes · 9 min read
Why Java Virtual Threads Are a Game-Changer for High-Concurrency Backends