Processing is I/O and CPU bound. :(
--
https://mail.python.org/mailman/listinfo/python-list
Lawrence D’Oliveiro wrote:
I naturally concluded that you didn’t care about
updates being momentarily held up by a web request in progress--which would
happen anyway if you used threads, at least with CPython.
Not necessarily -- the web processing is probably I/O bound,
in which case the GIL wi
That's right. Update task has precedence.
Looks like it is not an easy task.
Regards.
--
https://mail.python.org/mailman/listinfo/python-list
Lawrence D’Oliveiro wrote:
On Friday, November 24, 2017 at 3:27:17 AM UTC+13, zlju...@gmail.com wrote:
Looks like I need some sort of parallelization.
This is why coroutines were added to Python. Threading is notoriously
bug-prone, and is best avoided in most situations.
The OP claimed tha