github twitter keybase instagram spotify

asyncio in Practice: We Did It Wrong

| recording | corresponding blog post | code

Everyone’s talking about it. Everyone’s using it. But most likely, they’re doing it wrong, just like we did.

This talk walks through common mistakes and antipatterns, drawing from experience with how we’ve used asyncio in Spotify’s infrastructure. We learn how to approach asynchronous programming with Python’s asyncio library, take away some best practices, and what pitfalls to avoid.

FYI: Better viewing of slides (the code gets cut off in the PDF viewing below) can be found here.


anti-patternsbest-practicesconcurrency


Was this talk particularly helpful for you? Consider expressing your gratitude!
Need some help? I'm available for tutoring, mentoring, and interview prep!