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
JavaScript PromisesGoogle via Udacity Grand Central Dispatch (GCD)
Udacity Asynchronous Programming in C# and .NET Core
Microsoft via edX JavaScript, часть 2: прототипы и асинхронность
Moscow Institute of Physics and Technology via Coursera Разработка веб-сервисов на Go - основы языка
Moscow Institute of Physics and Technology via Coursera