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!
_version_ 1832570011858763776
author Michał Grabowiec
Sebastian Wiktor
Jakub Smołka
author_facet Michał Grabowiec
Sebastian Wiktor
Jakub Smołka
author_sort Michał Grabowiec
collection DOAJ
description 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.
format Article
id doaj-art-80d54bd1d5c54feeb5a360ad2156cbca
institution Kabale University
issn 2544-0764
language English
publishDate 2024-12-01
publisher Lublin University of Technology
record_format Article
series Journal of Computer Sciences Institute
spelling doaj-art-80d54bd1d5c54feeb5a360ad2156cbca2025-02-02T17:59:46ZengLublin University of TechnologyJournal of Computer Sciences Institute2544-07642024-12-013310.35784/jcsi.6353Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operationsMichał Grabowiec0Sebastian Wiktor1Jakub Smołka2https://orcid.org/0000-0002-8350-2537Lublin University of TechnologyLublin University of TechnologyLublin University of TechnologyThis 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. https://ph.pollub.pl/index.php/jcsi/article/view/6353Kotlincoroutinesconcurrent processing
spellingShingle Michał Grabowiec
Sebastian Wiktor
Jakub Smołka
Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
Journal of Computer Sciences Institute
Kotlin
coroutines
concurrent processing
title Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
title_full Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
title_fullStr Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
title_full_unstemmed Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
title_short Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
title_sort performance analysis of coroutines and other concurrency techniques in kotlin language for i o operations
topic Kotlin
coroutines
concurrent processing
url https://ph.pollub.pl/index.php/jcsi/article/view/6353
work_keys_str_mv AT michałgrabowiec performanceanalysisofcoroutinesandotherconcurrencytechniquesinkotlinlanguageforiooperations
AT sebastianwiktor performanceanalysisofcoroutinesandotherconcurrencytechniquesinkotlinlanguageforiooperations
AT jakubsmołka performanceanalysisofcoroutinesandotherconcurrencytechniquesinkotlinlanguageforiooperations