Analysis Of Virtual Threads In Spring Applications

Java virtual threads are supposed to reduce the effort of creating high-throughput concurrent applications. This article presents an in-depth analysis of the behaviour of virtual threads in REST API applications created using the Spring framework. Through a series of performance evaluations and controlled simulations, we investigate how virtual threads manage the execution of concurrent tasks with differing computational demands. The tests focus on performance regarding the request processing time, providing a practical benchmark for understanding the scalability and responsiveness offered by virtual threads in real-world spring applications. These findings offer valuable insights for developers who want to optimize their applications for maximum concurrency and minimal resource consumption with a single configuration change.

Authors

Publication Details

Published
2025-06-24
DOI
https://doi.org/10.7148/2025-0555
Primary Topic
Real-time simulation and control systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analysis Of Virtual Threads In Spring Applications

Patryk Likus, Filip Kruzel
Real-time simulation and control systems
article

Analysis Of Virtual Threads In Spring Applications

Patryk Likus, Filip Kruzel
article en

Abstract

Java virtual threads are supposed to reduce the effort of creating high-throughput concurrent applications. This article presents an in-depth analysis of the behaviour of virtual threads in REST API applications created using the Spring framework. Through a series of performance evaluations and controlled simulations, we investigate how virtual threads manage the execution of concurrent tasks with differing computational demands. The tests focus on performance regarding the request processing time, providing a practical benchmark for understanding the scalability and responsiveness offered by virtual threads in real-world spring applications. These findings offer valuable insights for developers who want to optimize their applications for maximum concurrency and minimal resource consumption with a single configuration change.

Openalex Percentile: Top 79%
Real-time simulation and control systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.