Asyncio in Practice - We Did It Wrong
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore common pitfalls and best practices in asynchronous Python programming using asyncio in this EuroPython 2018 conference talk. Delve into real-world examples that illustrate potential issues like callback hell, thread safety violations, and deadlocks. Learn how to properly implement concurrency, call coroutines from synchronous code, manage threads, and gracefully shut down async programs. Discover hidden "gotchas" and gain insights into exception handling, event-driven services, and working with coroutines. Examine topics such as signal handlers, exception wrappers, and the asyncio gather function. Benefit from the speaker's firsthand experiences to avoid common mistakes and improve your asyncio implementations.
Syllabus
Introduction
What is asyncio
Fake news
Realworld example
Exception Handling
iOS API
Eventdriven service
Publishing messages
Consumer
Serial
Acknowledge
Coroutine
Review
Signal Handler
Exception Wrapper
No Standard
Shield
Cleanup
Deconstruction
Exceptions
Example
asyncio gather
I think I owe
asyncio extras
Threaded code
Taught by
EuroPython Conference
Related Courses
Supercharged Web Scraping with Asyncio and PythonUdemy 爬虫基础教学 Python Scraping 教程
YouTube Python Asynchronous Programming - AsyncIO and Async-Await
Tech with Tim via YouTube Python Django, Aiohttp Workshop: Cooking Secret Note service
Udemy Learn Advanced Python 3: Concurrency
Codecademy