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 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> References: 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 Chris Angelico : > 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