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


Groups > comp.lang.python > #68213

Re: which async framework?

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 <ian.g.kelly@gmail.com>
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> <mailman.8041.1394534898.18130.python-list@python.org> <87lhwhovbo.fsf@elektro.pacujo.net>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Tue, 11 Mar 2014 05:48:03 -0600
Subject Re: which async framework?
To Python <python-list@python.org>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8043.1394538527.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Tue, Mar 11, 2014 at 4:58 AM, Marko Rauhamaa <marko@pacujo.net> wrote:
> Sturla Molden <sturla.molden@gmail.com>:
>
>> 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.

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


Thread

Re: which async framework? Sturla Molden <sturla.molden@gmail.com> - 2014-03-11 10:47 +0000
  Re: which async framework? Marko Rauhamaa <marko@pacujo.net> - 2014-03-11 12:58 +0200
    Re: which async framework? Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-11 05:48 -0600
      Re: which async framework? Marko Rauhamaa <marko@pacujo.net> - 2014-03-11 13:54 +0200
        Re: which async framework? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2014-03-11 11:59 +0000

csiph-web