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


Groups > comp.lang.python > #74674

Re: Blocked thread

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: Blocked thread
Date Thu, 17 Jul 2014 21:50:24 +0300
Organization A noiseless patient Spider
Lines 12
Message-ID <87d2d3251r.fsf@elektro.pacujo.net> (permalink)
References <CACwCsY7BWeV14+=OHbgYyfwV8qGkTv_nRC4e4+Ahxv3+RP+tng@mail.gmail.com> <CAPTjJmpi8d28ahbba0LNQU8rY4r0EvwUmDS2zRMVsUn0tubtuQ@mail.gmail.com> <CACwCsY75rNCiQ0MEVccSN+3aHVybPGjxS=ZyTo8aRiv=k2HyuA@mail.gmail.com> <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>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx05.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="8344"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/Cxc1yS3i+24KvbXydjfH"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Cancel-Lock sha1:cbNHs5P7UYMB7wxEVj6RdHmewas= sha1:tG4wK9MV3njENZrwC5mjz986QUM=
Xref csiph.com comp.lang.python:74674

Show key headers only | 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