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

2024

Полный текст Открытый доступ: Hybrid Метаданные (CSL-JSON)
DOI 10.54596/2958-0048-2024-1-117-122
Достоверность данных 70 средняя
Как считается эта оценка

Складывается из проверяемых признаков самой записи: есть ли у статьи DOI, сколько независимых источников подтвердили её данные, заполнены ли обязательные поля и насколько свежо последнее подтверждение. Снижают оценку расхождения между источниками и отсутствие идентификатора. Значение от 80 означает, что запись опубликована без дополнительной проверки; от 60 до 79 — что она опубликована с пониженной достоверностью и ручная проверка желательна. Запись, выверенную редактором вручную, пересчёт не опускает ниже 90. Это оценка наших данных о статье, а не оценка самой статьи.

Аннотация

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.