АСИНХРОННАЯ БИБЛИОТЕКА PYTHON ASYNCIO: ПРЕИМУЩЕСТВА И ПРИМЕРЫ ПРИМЕНЕНИЯ
Keywords:
Python, asyncio, asynchronous programming, network programming, multithreading, parallel programming, Input/Output, coroutines, event loop, scalabilityAbstract
The article describes the asynchronous Python library asyncio and its use in asynchronous programming. The basic principles of asyncio operation are considered, including pictures, coroutines and the event cycle. The advantages of using async io in network applications and Input/Output operations are discussed. The limitations of async io and possible alternatives such as multithreading and parallel programming are also considered. In general, the article provides an overview of asynchronous programming in Python and may be useful for developers working with scalable applications.
References
Bjørndalen J. M., Vinter B., Anshus O. aPyCSP–Asynchronous PyCSP Using Python Coroutines and Asyncio //Communicating Process Architectures 2017 & 2018. – IOS Press, 2019. – С. 281-297.
Hattingh C. Using Asyncio in Python: understanding Python's asynchronous programming features. – " O'Reilly Media, Inc.", 2020.
Савостин П. А., Ефремова Н. Э. Практическое применение асинхронного программирования на языке Python при помощи пакета asyncio //Программные системы и вычислительные методы. – 2018. – №. 2. – С. 11-16.
"Python Asyncio: A Guide to Asynchronous Programming in Python" by Dmitry Rodionov
"Asyncio: A Primer on Asynchronous Programming in Python" by Real Python "Exploring asyncio with examples" by Miguel Grinberg
Downloads
Additional Files
Published
How to Cite
License
Copyright (c) 2023 Saidakbar Xadjayev

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.