Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102854 > unrolled thread

Re: asyncio and blocking - an update

Started byChris Angelico <rosuav@gmail.com>
First post2016-02-12 19:19 +1100
Last post2016-02-12 19:19 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: asyncio and blocking - an update Chris Angelico <rosuav@gmail.com> - 2016-02-12 19:19 +1100

#102854 — Re: asyncio and blocking - an update

FromChris Angelico <rosuav@gmail.com>
Date2016-02-12 19:19 +1100
SubjectRe: asyncio and blocking - an update
Message-ID<mailman.72.1455265184.22075.python-list@python.org>
On Fri, Feb 12, 2016 at 7:17 PM, Frank Millman <frank@chagford.com> 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.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web