Eurasia3是一种能够支持百万级同时在线长连接用户数量的HTTP服务器,或者每秒处理上万次CGI请求的常规应用服务器。
Eurasia3同时也泛指以Eurasia3应用服务器为核心的一系列组件形成的应用程序框架,主要是一个嵌入式对象数据库MissileDB,和一个JavaScript框架NJF。Eurasia3基于StacklessPython。
安装下载 eurasia.py 即可,无需安装。
$svncohttps://eurasia.googlecode.com/svn/branches/3.2/
安装依赖安装libev库(将libev.so与eurasia.py放在同一目录即可):
$wgethttps://eurasia-dl.googlecode.com/files/libev-1.125.tar.bz2$tarxjflibev-1.125.tar.bz2$cdlibev-1.125$chmod+xautogen.sh$./autogen.sh$./configure$make$cp.libs/libev.so/PATH/TO/EURASIA_PY
安装libeio库(将libeio.so与eurasia.py放在同一目录即可):
$wgethttps://eurasia-dl.googlecode.com/files/libeio-1.424.tar.bz2$tarxjflibeio-1.424.tar.bz2$cdlibeio-1.424$chmod+xautogen.sh$./autogen.sh$./configure$make$cp.libs/libeio.so/PATH/TO/EURASIA_PY
安装greenlet模块(将greenlet.so与eurasia.py放在同一目录即可):
$wgethttps://pypi.python.org/packages/source/g/greenlet/greenlet-0.4.0.zip$unzipgreenlet-0.4.0.zip$cdgreenlet-0.4.0$/PATH/TO/PYTHONsetup.pybuild_ext--inplace$cpgreenlet.so/PATH/TO/EURASIA_PY
评论