Preview

Vestnik of M. Kozybayev North Kazakhstan University

Advanced search

VIRTUAL THREADS IN JAVA 19 AND SPRING BOOT 3: ENHANCING PERFORMANCE AND EFFICIENCY OF APPLICATIONS

https://doi.org/10.54596/2958-0048-2024-1-117-122

Abstract

This article explores virtual threads, a new feature introduced in Java version 19. Virtual threads are an abstraction that allows the creation of numerous threads without requiring dedicated operating system threads for each. This significantly reduces the overhead costs of multithreading, leading to improved performance and efficiency of applications. The article discusses the working principles of virtual threads, their advantages and disadvantages. It also examines the support for virtual threads in the Spring Boot 3 framework. Research indicates that virtual threads can significantly enhance the performance of applications handling concurrent network requests. For instance, a Spring Boot application executing 1000 concurrent network requests demonstrated a 20% performance improvement when using virtual threads compared to traditional threads.

About the Authors

M. M. Chigurov
M. Kozybayev North Kazakhstan University
Kazakhstan

Petropavlovsk



V. P. Kulikova
M. Kozybayev North Kazakhstan University
Kazakhstan

Petropavlovsk



E. M. Krylova
Siberian State University of Geosystems and Technologies
Kazakhstan

Novosibirsk



References

1. Spring Versions JPA - Reference Documentation // URL: https://paulcwarren.github.io/springcontent/refs/snapshot/1.0.x/jpaversions-index.html (data obrashcheniya: 01.03.24)

2. Deitel H.M. Operating Systems / H.M. Deitel, P.J. Deitel, D.R. Choffnes. 3rd ed. - M.: LLC "Binompress", 2006. Vol.1. 1024 p., Vol.2. 704 p.

3. Tanenbaum A.S. Modern Operating Systems / A. Tanenbaum. 2nd ed. - St. Petersburg: Peter, 2006. - 1038 p.

4. James Gosling, Bill Joy, Guy Steele, Gilad Bracha, Alex Buckley Java(TM) Programming Language, Java SE 8 Edition // URL: https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf (data obrashcheniya: 05.03.24)

5. Tim Lindholm, Frank Yellin, Gilad Bracha, Alex Buckley The JavaTM Virtual Machine Specification, Java SE 8 Edition // URL: https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf (data obrashcheniya: 07.03.24)

6. Performing Concurrent Network Requests in Java: Fast and Efficient // URL: https://medium.com/nuances-ofprogramming/%D0%B2%D1%8B%D0%BF%D0%BE%D0%BB%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5%D0%BE%D0%B4%D0%BD%D0%BE%D0%B2%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D1%85%D1%81%D0%B5%D1%82%D0%B5%D0%B2%D1%8B%D1%85-%D0%B7%D0%B0%D0%BF%D1%80%D0%BE%D1%81%D0%BE%D0%B2-%D0%B2-java-%D0%B1%D1%8B%D1%81%D1%82%D1%80%D0%BE-%D0%B8-%D1%8D%D1%84%D1%84%D0%B5%D0%BA%D1%82%D0%B8%D0%B2%D0%BD%D0%BEd51777f9700f (data obrashcheniya: 07.03.24)


Review

For citations:


Chigurov M.M., Kulikova V.P., Krylova E.M. VIRTUAL THREADS IN JAVA 19 AND SPRING BOOT 3: ENHANCING PERFORMANCE AND EFFICIENCY OF APPLICATIONS. Vestnik of M. Kozybayev North Kazakhstan University. 2024;(1 (61)):117-122. https://doi.org/10.54596/2958-0048-2024-1-117-122

Views: 273


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2958-003X (Print)
ISSN 2958-0048 (Online)