~/talk

Integrations with Asyncio

TalkinSpanishat PyCon US 2020 · 2020-04-15..04-23· [python]
links:none on file
slides:none on file

An asyncio-based dispatcher runs heterogeneous plugin subprocesses and communicates with them over IPC using their stdout/stderr, while server-to-dispatcher communication uses websockets and HTTP implemented with aiohttp and asyncio sockets. Messages are JSON Lines; subprocesses are launched with asyncio.create_subprocess_exec and read with streaming readers; the repository includes runnable examples. It is a proof-of-concept missing SSL, persistence, marshmallow validation, and robust socket-reconnect/error handling, so not production-ready.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18Plugin problems across languages
  3. 3:45Dispatcher architecture
  4. 6:18Asyncio and coroutines
  5. 8:25Code structure and comms
  6. 10:33Demo with remote scripts
  7. 14:54Dispatcher implementation
  8. 18:47Line processing and errors
  9. 21:44Future improvements
  10. 23:59Conclusion & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.