Advanced asyncio - Solving Real-world Production Problems
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore advanced asyncio techniques for solving real-world production problems in this 40-minute conference talk from EuroPython 2019. Dive into creating a robust foundation for asyncio-based services, covering topics like graceful shutdowns, proper exception handling, and testing asynchronous code. Learn how to work with synchronous code, debug and profile asyncio applications, and integrate threaded code. Gain insights into best practices and common pitfalls to avoid when approaching asynchronous and concurrent programming with Python's asyncio library. Through the development of a simplified chaos monkey service, acquire practical knowledge on topics such as non-blocking vs. concurrent execution, task scheduling, signal handling, and profiling techniques.
Syllabus
Introduction
asyncio
Hello World Examples
Simple Publisher
Multiple Messages
Finalization
Review
Signal Handler
Shield
Cleanup
Handling exceptions
Handling messages
Working with threads
Threadsafe API
Testing
Closing the Loop
Debugger
Print Stack
Debug Mode
AAODebug
Event Loop
Kcash Grind
Line Profiler
Profiling
Spotify
Taught by
EuroPython Conference
Related Courses
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube