Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations

This article focuses on analyzing the performance of coroutines and other concurrent processing techniques in Kotlin language for input/output operations. For this purpose, coroutines, traditional threads, thread pool and virtual threads were put together. An appropriate application was created and...

Full description

Saved in:
Bibliographic Details
Main Authors: Michał Grabowiec, Sebastian Wiktor, Jakub Smołka
Format: Article
Language:English
Published: Lublin University of Technology 2024-12-01
Series:Journal of Computer Sciences Institute
Subjects:
Online Access:https://ph.pollub.pl/index.php/jcsi/article/view/6353
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:This article focuses on analyzing the performance of coroutines and other concurrent processing techniques in Kotlin language for input/output operations. For this purpose, coroutines, traditional threads, thread pool and virtual threads were put together. An appropriate application was created and test scenarios were developed. A series of tests were conducted, followed by an analysis of the obtained results. These results indicate that coroutines and thread pool exhibit the highest performance, highlighting their importance in optimizing concurrent processing in the Kotlin language.
ISSN:2544-0764