浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Emulating Stackless Python using greenlet

http://ptspts.blogspot.com/2010/01/emulating-stackless-python-using.html

Syncless is a non-blocking (asynchronous) concurrent client and server
socket network communication library for Stackless Python 2.6 (and also
for regular Python with greenlet). For high speed, Syncless uses libev
(and libevent) for event notification, and parts of Syncless' code is
implemented in Pyrex/Cython and C. This alone makes Syncless faster than
many of its non-blocking network libraries for Python. Syncless
contains an asynchronous DNS resolver (using evdns) and a HTTP server
capable of serving WSGI applications. Syncless aims to be a
coroutine-based alternative of event-driven networking engines (such as
Twisted, asyncore, pyevent, python-libevent and FriendFeed's Tornado),
and it's a competitor of gevent, Eventlet and Concurrence.
http://code.google.com/p/syncless/




posted on 2010-08-20 14:58  lexus  阅读(452)  评论(0编辑  收藏  举报