Medusa

来自开放百科 - 灰狐
跳转到: 导航, 搜索

Medusa: A High-Performance Internet Server Architecture

Medusa is an architecture for very-high-performance TCP/IP servers (like HTTP, FTP, and NNTP). Medusa is different from most other servers because it runs as a single process, multiplexing I/O with its various client and server connections within a single process/thread.

Medusa is written in Python, a high-level object-oriented language that is particularly well suited to building powerful, extensible servers. Medusa can be extended and modified at run-time, even by the end-user. User 'scripts' can be used to completely change the behavior of the server, and even add in completely new server types.

http://www.nightmare.com/medusa/

Install

Debian

#apt-get install python-medusa 
#apt-get install python2.1-medusa 
#apt-get install python2.2-medusa 
#apt-get install python2.3-medusa 

Python 2.4

wget http://www.amk.ca/files/python/medusa-0.5.4.tar.gz
cd medusa-0.5.4
python setup.py install
ImportError: /usr/lib/python2.4/lib-dynload/math.so: undefined symbol: PyFPE_jbuf
debian:/home/allen/python/quixote# cp /usr/local/lib/python2.4/lib-dynload/math.so  /usr/lib/python2.4/lib-dynload/
 

Python 2.5

wget http://www.quixote.ca/files/qxdemo/qxdemo-0.1.tar.gz
python demo/script_server.py
http://localhost:8081/

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱