Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; '[1]:': 0.09; 'bits': 0.09; 'runs': 0.10; 'cc:addr:python-list': 0.11; 'concurrent': 0.16; 'from:addr:arskom.com.tr': 0.16; 'from:addr:burak.arslan': 0.16; 'from:name:burak arslan': 0.16; 'message-id:@arskom.com.tr': 0.16; 'missing?': 0.16; 'received:arskomhosting.com': 0.16; 'twisted': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'header:User- Agent:1': 0.23; 'cc:2**0': 0.24; 'query': 0.26; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'database,': 0.30; 'purely': 0.31; 'quite': 0.32; 'url:python': 0.33; 'running': 0.33; "can't": 0.35; 'except': 0.35; 'done.': 0.35; 'url:org': 0.36; 'handle': 0.38; 'happen': 0.63; 'million': 0.74; 'production,': 0.84; 'to:none': 0.92; 'hundred': 0.95 Date: Tue, 03 Jun 2014 14:05:04 +0300 From: Burak Arslan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 CC: "python-list@python.org" Subject: Re: Benefits of asyncio References: <874n03t5t9.fsf@elektro.pacujo.net> <7x4n03dor0.fsf@ruckus.brouhaha.com> <878upe8poc.fsf@elektro.pacujo.net> <87wqcyuznv.fsf@elektro.pacujo.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401793504 news.xs4all.nl 2830 [2001:888:2000:d::a6]:43895 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72504 On 06/03/14 12:30, Chris Angelico wrote: > Write me a purely nonblocking > web site concept that can handle a million concurrent connections, > where each one requires one query against the database, and one in a > hundred of them require five queries which happen atomically. I don't see why that can't be done. Twisted has everyting I can think of except database bits (adb runs on threads), and I got txpostgres[1] running in production, it seems quite robust so far. what else are we missing? [1]: https://pypi.python.org/pypi/txpostgres