Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.070 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.01; 'pypi': 0.07; 'python': 0.11; 'blocking': 0.16; 'non-blocking': 0.16; 'subject:which': 0.16; 'twisted': 0.16; 'wrote:': 0.18; 'module': 0.19; 'select': 0.22; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'another.': 0.31; "i'd": 0.34; 'received:google.com': 0.35; 'doing': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'users': 0.40; 'mar': 0.68; 'beat': 0.68; 'hoping': 0.75; 'networking.': 0.84; 'directly.': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=qhShiR8cGhnhTe3tD3juHD4FhBYuKgR+hzDsXtRIGpI=; b=DDrnl3usb+a7LqDE1bM08jfnFVsw/VKTf/YgsyWmDQfPzvTM9XczohqBlOnsc7V3pe e2v/s+7P543x0JmzppFRP/7osZXB15qzb8whSOjolSY5pvdwC8sWi/jXx+BomuJDJ2J6 kH2NTpJtKVjIwyCBeBrtCEhtT5yaLn/Hx9y0eoQaO0l8rrfoWREhBQRZl0xVF5WYRkOV mspYZQhOXxPDSLqmo8CyPSWE7+9D4NGrVvYOFspxxpbhneQSFbjvfr7TPlufvcT2//IQ 0yDHpQ2JXy58TklTvZyZlvncA4wBjB/DtJXsDNdYZz+6N4MXGYQb8YijZwkXBL8YDl3q yM2g== X-Received: by 10.68.143.100 with SMTP id sd4mr47393213pbb.0.1394538524025; Tue, 11 Mar 2014 04:48:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87lhwhovbo.fsf@elektro.pacujo.net> References: <531E22DF.7030709@simplistix.co.uk> <87lhwhovbo.fsf@elektro.pacujo.net> From: Ian Kelly Date: Tue, 11 Mar 2014 05:48:03 -0600 Subject: Re: which async framework? To: Python Content-Type: text/plain; charset=ISO-8859-1 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1394538527 news.xs4all.nl 2948 [2001:888:2000:d::a6]:53466 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68213 On Tue, Mar 11, 2014 at 4:58 AM, Marko Rauhamaa wrote: > Sturla Molden : > >> I'd go for using iocp, epoll and kqueue/kevent directly. Why bother to >> learn a framework? You will find epoll and kqueue/kevent in the select >> module and iocp in pywin32. > > You beat me to it. > > However, I'm hoping asyncio will steer the Python faithful away from > blocking threads to the "right way" of doing networking. eventlet has 115k downloads from PyPI over the last month. gevent has 143k. Twisted has 147k. Tornado has 173k. I'd say that a lot of Python users are already doing non-blocking network I/O, in one form or another.