Alex Cano
04/07/2020, 9:00 PMJeremiah
04/08/2020, 12:28 PMawait fn()
from the repl. On the other hand, if you do have a setup that can benefit from concurrency, even in the last year we’ve seen some huge advances in the async community tooling, lots of credit to Tom Christie for his work on libraries like Starlette and HTTPXAlex Cano
04/08/2020, 3:08 PMAsyncExecutor
, so I was giving some thought to whether that would be thing I would know how to implement (turns out, it is not!).
I wasn’t particularly worried about performance, as ideally most of the flow’s time would be spent doing the actual calculations on the executor instead of running the flow code.
I’m still pretty interested in this bridging between the worlds though. Do you know if there’s like a go-to talk or set of blog posts about it? Most of the blog posts I’ve been reading on it are “here is what asyncio is, and here’s how it works if your whole program is async”, which isn’t super helpful for this case.Jeremiah
04/08/2020, 4:15 PMAlex Cano
04/08/2020, 4:18 PMJeremiah
04/09/2020, 1:06 AM