nxweb 小巧高效的 HTTP 引擎开源项目

我要开发同款
匿名用户2015年11月25日
26阅读
开发技术C/C++
所属分类服务器软件、HTTP服务器
授权协议GPLv3

作品详情

nxweb是采用Python和C编写的快速而且轻量级的Web服务器软件。

特性:

性能优异

可处理数千并发

内存占用小

事件驱动、多线程模型

代码量小

简单的CAPI

体面的HTTP协议处理

支持keep-alive连接

支持chunked请求和响应

支持SSL(viaGNUTLS)

支持HTTPproxy(withkeep-aliveconnectionpooling)

支持文件缓存

cachedcontentcanbeservedwhenbackendisunavailable

非堵塞sendfile支持(withconfigurablesmallfilememorycache)

cacheablegzipcontentencoding

cacheableimagethumbnailswithwatermarks(viaImageMagick)

basicserver-sideincludes(SSI)

templatingengine withpageinheritance

subrequests

integratedPythoninterpreterandWSGI-server

modulardesignfordevelopers

canberunasdaemon;relaunchesitselfonerror

opensource

性能比较:

TestNXWEBG-WANlibeventmicrohttpdmongoosenginx1.hello100ka200/12114430/691321901412.hello10051/424115/321334413.hello1000ka160/11513021/431301801244.hello100046/383814/301235405.hello10000ka115/8410323/401161191085.1.realconcurrency9500-100009500-1000010000600-10001500-17004000-70005.2.memoryfootprint28Mb105Mb---4x15Mb6.hello1000038/343314/27920297.file2.3Kka133NANANA5987.1.file2.3Kkacached145120NANANANA8.file2.3K42NANANA12398.1.file2.3Kcached4333NANANANA9.file100Kka3615NANA3.63210.file100K2312NANA3.52111.file2.1Mka3.20.7NANA0.62.612.file2.1M2.30.6NANA0.52.0

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论