欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Medusa
小 (→Links) |
|||
(未显示1个用户的3个中间版本) | |||
第25行: | 第25行: | ||
python demo/script_server.py | python demo/script_server.py | ||
http://localhost:8081/ | http://localhost:8081/ | ||
+ | |||
+ | ==Links== | ||
+ | *Introducing Quixote: A Simple Link Display - http://www.quixote.ca/learn/1 | ||
+ | |||
+ | [[category:web server]] | ||
+ | [[category:python]] |
2013年1月28日 (一) 05:43的最后版本
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
- Introducing Quixote: A Simple Link Display - http://www.quixote.ca/learn/1