asyncio and blocking - an update

Chris Angelico rosuav at
Fri Feb 12 03:19:41 EST 2016

On Fri, Feb 12, 2016 at 7:17 PM, Frank Millman <frank at> wrote:
> Using run_in_executor() and cur.fetchall(), I experience delays of up to 2
> seconds while the task is active.
> Using my approach, the maximum I saw was about a tenth of a second, and that
> is because I was looking for it - a normal user would not notice. Obviously
> the task took longer, but I can live with that trade-off.

That looks like good, useful data! Cool.


More information about the Python-list mailing list