АСИНХРОННАЯ БИБЛИОТЕКА PYTHON ASYNCIO: ПРЕИМУЩЕСТВА И ПРИМЕРЫ ПРИМЕНЕНИЯ

Authors

  • Saidakbar Xadjayev a:1:{s:5:"ru_RU";s:6:"TATUFF";}

Keywords:

Python, asyncio, asynchronous programming, network programming, multithreading, parallel programming, Input/Output, coroutines, event loop, scalability

Abstract

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

Published

2023-05-28

How to Cite

Xadjayev, S. (2023). АСИНХРОННАЯ БИБЛИОТЕКА PYTHON ASYNCIO: ПРЕИМУЩЕСТВА И ПРИМЕРЫ ПРИМЕНЕНИЯ. The Descendants of Al-Fargani, 1(2), 45–48. Retrieved from https://al-fargoniy.uz/index.php/journal/article/view/36

Issue

Section

Статьи

Categories