Understanding Async/Await in Python (Asyncio)

Publicado em: 03 Março 2021
no canal de: Coders Field
129
5

Often when asyncio is discussed, people think of it as a high-performance concurrency programming paradigm for Python. In this talk, however, we approach asyncio from a different angle, one that will possibly help some of you to finally get what asyncio is about. it's not only about performance, but at least as much about the correctness and readability of concurrent applications. Concurrency is hard to get right.

Often when asyncio is discussed, people think of it as a high-performance concurrency programming paradigm for Python. In this talk, however, we approach asyncio from a different angle, one that will possibly help some of you to finally get what asyncio is about. it's not only about performance, but at least as much about the correctness and readability of concurrent applications.

It is known that for multithreaded applications, synchronization is hard to get right. Doing it wrong can either lead to deadlocks or broken data structures.

We will have a look at how using asyncio is different from using threads, when it's better and what pitfalls we have.

This talk should be a good introduction for anyone just starting with asyncio, but can also clarify things for people that are using asyncio already. I expect people to have at least used some form of concurrency, either threads or an event loop like we have in JavaScript.

Share, Support, Subscribe!!!
E-mail: codersfield@gmail.com
Twitter:   / codersfield  
Facebook:   / codersfield7  

PUBLICATION PERMISSIONS:
The original video was published with the Creative Commons Attribution license (reuse allowed).
   • Asyncio: understanding async and await in ...  


Nesta página do site você pode assistir ao vídeo on-line Understanding Async/Await in Python (Asyncio) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Coders Field 03 Março 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 129 vezes e gostou 5 espectadores. Boa visualização!