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

Main Article Content

DOI

Michał Grabowiec

s97060@pollub.edu.pl

Sebastian Wiktor

sebastian.wiktor@pollub.edu.pl

Jakub Smołka

jakub.smolka@pollub.pl

https://orcid.org/0000-0002-8350-2537

Abstract

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.

Keywords:

Kotlin, coroutines, concurrent processing

References

Article Details

Grabowiec, M., Wiktor, S., & Smołka, J. (2024). Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations. Journal of Computer Sciences Institute, 33, 306–312. https://doi.org/10.35784/jcsi.6353