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


Groups > comp.lang.python > #74674

Re: Blocked thread

From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: Blocked thread
Date 2014-07-17 21:50 +0300
Organization A noiseless patient Spider
Message-ID <87d2d3251r.fsf@elektro.pacujo.net> (permalink)
References (3 earlier) <CAPTjJmqOvBCbHr1wg8VTrmYcFt602GeykO_RSOv4_NS-bWD7Ew@mail.gmail.com> <CACwCsY4tVZrpsxJ3HL9sRMdGt-Ek7_6drK6-BuZ6XtbQQpnsUw@mail.gmail.com> <CAPTjJmqGGXjp=2jv-EicwPPnQUwcu9bt2_s144J9et5MUL7pEw@mail.gmail.com> <CACwCsY6RAq2nErZySn43BYWX6uE6nrssvqXickLasp5SNJipKg@mail.gmail.com> <mailman.11946.1405621301.18130.python-list@python.org>

Show all headers | View raw


Chris Angelico <rosuav@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Blocked thread Chris Angelico <rosuav@gmail.com> - 2014-07-18 04:21 +1000
  Re: Blocked thread Marko Rauhamaa <marko@pacujo.net> - 2014-07-17 21:50 +0300
    Re: Blocked thread Chris Angelico <rosuav@gmail.com> - 2014-07-18 05:01 +1000

csiph-web