~skeeto/public-inbox

1

Re: Latency in Asynchronous Python

Nathaniel Smith
Details
Message ID
<CAPJVwBkdhCq9eJH7S-ypnaz_hT9K8AnjZLHab0gGpviFEG6qoQ@mail.gmail.com>
DKIM signature
pass
Download raw message
Nice article!

You might enjoy the discussion here:
https://gitter.im/python-trio/general?at=5eca22d94412600ccd63eae5

(In particular, there's one minor correction: asyncio.Queue(1) gives
you a queue with a buffer size of 1. That's different from an
unbuffered queue, which would have a buffer size of zero – but
asyncio.Queue doesn't support those.)

-- 
Nathaniel J. Smith -- https://vorpus.org

Re: Latency in Asynchronous Python

Details
Message ID
<20200524111917.qlj3tmpe5mfj7kes@nullprogram.com>
In-Reply-To
<CAPJVwBkdhCq9eJH7S-ypnaz_hT9K8AnjZLHab0gGpviFEG6qoQ@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Thanks for the link! I've never heard of this place before, so I would 
have never seen it. 

> That's different from an unbuffered queue, which would have a buffer 
> size of zero – but asyncio.Queue doesn't support those.

Doh! Completely right. I've just made a couple of tweaks to the article 
to correct this.
Export thread (mbox)