[Python-ideas] The async API of the future: yield-from

Antoine Pitrou solipsis at pitrou.net
Tue Oct 16 11:30:01 CEST 2012


On Mon, 15 Oct 2012 19:19:29 -0700
Guido van Rossum <guido at python.org> wrote:
> 
> Here you're basically arguing for greenlets/gevent -- you're saying
> you just don't want to put up with the yields everywhere. But the
> popularity of Twisted and Tornado show that at least some people are
> willing to make even bigger sacrifices in order to be able to do async
> I/O efficiently -- i.e., to solve the C10K problem that Christian
> Tismer referred to (http://www.kegel.com/c10k.html,
> http://en.wikipedia.org/wiki/C10k_problem).

To be honest, one of the selling points of Twisted is not that it
solves the C10k problem, it's that it's a comprehensive network
programming toolkit. I'd bet many users of Twisted don't care that much
about the single-thread event-loop approach, and don't have C10k-like
problems.

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net





More information about the Python-ideas mailing list