论坛首页 综合技术论坛

python 网络 相关 资源 (epoll 和 Eventlet )

浏览 2654 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-11-02  
1.epoll 哇哦 , 2.6有epoll了

select.epoll([sizehint=-1])
(Only supported on Linux 2.5.44 and newer.) Returns an edge polling
object, which can be used as Edge or Level Triggered interface for I/O
events; see section Edge and Level Trigger Polling (epoll) Objects
below for the methods supported by epolling objects.

New in version 2.6.

2.又是个高性能网络库 "第二人生"用的
我今天才看到 真孤陋寡闻...

http://is.gd/5xV4
这里有简介

http://wiki.secondlife.com/wiki/Eventlet/Documentation

Eventlet: 使用非阻塞网络IO编写的高度伸缩性能的网络库
Require:
       greenlet(http://cheeseshop.python.org/pypi/greenlet)
       pyOpenSSL(http://pyopenssl.sourceforge.net/) 需要SSL的时候


http://wiki.secondlife.com/wiki/Mulib

mulib: 是基于REST的Web服务架构,底层使用eventlet.httpd作为网络通讯库。
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics