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
- Patryk Likus
- Filip Kruzel
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