[ENG] Andrew Svetlov: 'asyncio pitfalls'

preview_player
Показать описание
Ближайшая конференция — PiterPy 2024, 18 сентября (online), 26-27 сентября (offline, Санкт-Петербург).
— Ближайшая конференция:
PiterPy 2023 — 6–7 ноября (Online), 13–14 ноября (Санкт-Петербург, Offline)
— —
asyncio pitfalls

asyncio becomes quite popular now.
At first glance the approach looks very similar to classic synchronous way: just put `await` before every async function call, that's it.
But the real usage feedback demonstrates non obvious pitfalls.
Surprisingly it's not task synchronization but timeouts and task cancellation.
Another pain is async API design: there is no guideline for async approach published yet. The speaker went through this way, he paid fare share of mistakes.

++++++++++++++++

Andrew Svetlov
Ukraine. Kyiv
Software Engineer
Python Core Developer

Andrew is a passionate Python developer with 17 years experience for the language usage.
The most famous his product for last years is aiohttp -- a library for making HTTP requests and buildng Web servers in asyncio style.

++++++++++++++++

Piter Py 2017

Follow us

#PiterPy

++++++++++++++++

GENERAL SPONSOR

DELLEMC

SPOSNSOR

Selectel

++++++++++++++++

ORGANIZERS

IT-Events

IT-Dominanta
Рекомендации по теме
Комментарии
Автор

Honestly I can listen it to fall asleep :D

samuelec