Blocked thread

Marko Rauhamaa marko at pacujo.net
Thu Jul 17 14:50:24 EDT 2014


Chris Angelico <rosuav at gmail.com>:

> It's more what the client library supports, rather than the server,
> but sure. If it doesn't do async queries, that settles it.

The server can't control that. At the networking/OS level, it's all
asynchronous.

I would recommend a process pool for blocking DB queries.


Marko



More information about the Python-list mailing list