Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
Article Sidebar
Open full text
Issue Vol. 33 (2024)
-
Comparative analysis of performance between .NET platform versions
Grzegorz Grzegorczyk, Małgorzata Plechawska-Wójcik251-257
-
Performance analysis of .Net and Spring Boot microservices on Microsoft Azure
Konrad Krekora258-263
-
Comparative analysis of frameworks for creating user interfaces in iOS Systems
Sebastian Słupny, Edyta Łukasik264-268
-
Analysis of graphical user interfaces of music services taking into account universal design principles
Damian Mydlak, Kacper Adamiak, Maria Skublewska-Paszkowska269-276
-
Accessibility and usability analysis of online museum's graphical user interface
Karol Łazaruk, Kacper Majcher, Maria Skublewska-Paszkowska277-284
-
Performance comparison of the Java and Kotlin programming languages based on an auto-scroller mobile game
Piotr Gajek, Małgorzata Plechawska-Wójcik285-291
-
Web Accessibility Status of Open Access Journals in Africa: A 2024 Snapshot
Pastor Nso-Mangue, Sergio Luján-Mora292-297
-
Performance analysis of working with relational and non-relational databases in Java applications
Krzysztof Caban, Paweł Czuchryta, Beata Pańczyk298-305
-
Performance analysis of coroutines and other concurrency techniques in Kotlin language for I/O operations
Michał Grabowiec, Sebastian Wiktor, Jakub Smołka306-312
-
Comparative analysis of Blender and 3ds Max in the aspect of reconstruc- ting selected artifact models derived from 3D scanning
Olga Struska, Krzysztof Dziedzic313-316
-
Comparision of Artificial Inteligence models used in computer games on the Unity platform
Szymon Kacprzyk, Vladyslav Hutsenko317-322
-
Analysis of the performance and scalability of microservices depending on the communication technology
Jan Jarmoszewicz, Patryk Iwanowski, Małgorzata Plechawska-Wójcik323-330
-
Usability analysis of graphical interfaces of travel websites according to the universal design principles
Maciej Nawrot, Maria Skublewska-Paszkowska331-338
-
Performance of machine learning tools. Comparve analysis of libraries in interpreted and compiled programming languages
Tomasz Wiejak, Jakub Smołka339-345
-
Analysis of the usability of graphical interfaces of car rental websites with consideration of universal design principles
Jakub Szewczyk, Maria Skublewska-Paszkowska346-353
-
The usefulness of the T1DDS simulator in the context of multi-day type 1 diabetes therapy
Tomasz Nowicki354-360
Main Article Content
DOI
Authors
sebastian.wiktor@pollub.edu.pl
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:
References
R. Elizarov, M. Belyaev, M. Akhin, I. Usmanov, Kotlin coroutines: design and implementation, Proceedings of the 2021 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward! '21) (2021) 68–84, https://doi.org/10.1145/3486607.3486751. DOI: https://doi.org/10.1145/3486607.3486751
Octoverse: The state of open source and rise of AI in 2023, https://github.blog/2023-11-08-the-state-of-open-source-and-ai/, [23.05.2024].
D. Gotseva, Y. Tomov, P. Danov, Comparative study Java vs Kotlin, In 27th National Conference
With International Participation (2019) 86–89, https://doi.org/10.1109/TELECOM48729.2019.8994896. DOI: https://doi.org/10.1109/TELECOM48729.2019.8994896
D. Jemerov, S. Isakova, Kotlin in Action, Manning Publications, New York, 2016.
N. Everlönn, S. Gakis, Java and Kotlin, a performance comparison, Bachelor thesis, Kristianstad University, Kristianstad, 2020.
K. Chauhan, S. Kumar, D. Sethia, M. N. Alam, Performance Analysis of Kotlin Coroutines on Android in a Model-View-Intent Architecture pattern, In 2021 2nd International Conference for Emerging Technology (INCET) (2021) 1–6, http://dx.doi.org/10.1109/INCET51464.2021.9456197. DOI: https://doi.org/10.1109/INCET51464.2021.9456197
N. Koval, D. Alistarh, R. Elizarov, Fast And Scalable Channels In Kotlin Coroutines, Proceedings of the 28th ACM SIGPLAN Annual Symposium on Principles and Practice of Parallel Programming (2023) 107–118, https://doi.org/10.48550/arXiv.2211.04986. DOI: https://doi.org/10.1145/3572848.3577481
A. Shafi, J. M. Hashmi, H. Subramoni, D. K. Panda, Blink: Towards Efficient RDMA-based Communication Coroutines for Parallel Python Applications, In 2020 IEEE 27th International Conference on High Performance Computing, Data, and Analytics (HiPC) (2020) 111–120, http://dx.doi.org/10.1109/HiPC50609.2020.00025. DOI: https://doi.org/10.1109/HiPC50609.2020.00025
L. Stadler, T. Wurthinger, C. Wimmer, Efficient Coroutines for the Java Platform, Proceedings of the 8th International Conference on Principles and Practice of Programming in Java (2010) 20–28, http://dx.doi.org/10.1145/1852761.1852765. DOI: https://doi.org/10.1145/1852761.1852765
D. Beronić, L. Modrić, B. Mihaljević, A. Radovan, Comparison of Structured Concurrency Constructs in Java and Kotlin – Virtual Threads and Coroutines, In 2022 45th Jubilee International Convention on Information, Communication and Electronic Technology (MIPRO) (2022) 1466–1471, https://doi.org/10.23919/MIPRO55190.2022.9803765. DOI: https://doi.org/10.23919/MIPRO55190.2022.9803765
Kotlin language documentation: Dispatcher IO, https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-i-o.html, [29.05.2024].
Kotlin language documentation: Default dispatcher, https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-default.html, [29.05.2024].
Power of Java Virtual Threads: A Deep Dive into Scalable Concurrency, https://kiranukamath.medium.com/power-of-java-virtual-threads-a-deep-dive-into-scalable-concurrency-18fa4d382f9c,
Article Details
Abstract views: 315

