Lynn Root - Advanced asyncio: Solving Real-world Production Problems - PyCon 2019
"Speaker: Lynn Root
Everyone’s talking about it. Everyone’s using it. But most likely, they’re doing it wrong, just like we did.
By building a simplified chaos monkey service, we will walk through how to create a good foundation for an asyncio-based service, including graceful shutdowns, proper exception handling, and testing asynchronous code. We’ll get into the hairier topics as well, covering topics like working with synchronous code, debugging and profiling, and working with threaded code. We’ll learn how to approach asynchronous and concurrent programming with Python’s `asyncio` library, take away some best practices, and learn what pitfalls to avoid.
Slides can be found at: speakerdeck.com/pycon2019 and github.com/PyCon/2019-slides"
Пікірлер: 17
This was super useful: I know I have a few TODOs in my asyncio code where they say something like "TODO: this is actually serial and no better than blocking code".
This was excellent. Thank you.
Thanks for this talk. I find this stuff quite challenging...
Very good and useful content! Thanks a lot!
direct link to slides speakerdeck.com/roguelynn/advanced-asyncio-solving-real-world-production-problems
what an awesome talk!
shield() only protects a coro from the cancelation of it's caller being canceled and propagating down
This looks amazing, but I'm having trouble following… I'm going to put the whole thing into a diagram I think
Just wanted to leave a note, that AsyncMock is available since Python 3.8, so there is no more need to create coro_mock like at 24:16.
How the async program handle the token expiry for oauth. Eg: I have 30 requests running async but first request got the http error meanwhile before handling refresh token we I'll get the all responses.
@vhphan19
3 жыл бұрын
Did you managed to solve this issue?
@BharathiFromSouth
3 жыл бұрын
@@vhphan19 no
The links for slides dont seem to work.
@brawndojo
5 жыл бұрын
I'm not involved in the uploading (just an attendee) but it looks like the slides aren't up yet, though based on the pattern from previous years, these will be accurate URLs once they're up.
@hamidr9194
5 жыл бұрын
It is now (at 1:48) speakerdeck.com/roguelynn/advanced-asyncio-solving-real-world-production-problems
'gym packed room'? and she is what? a cute, little pony?