采用C & Python开发的轻量级Web服务器:nxweb

ygfb 9年前

采用C & Python开发的快速,轻量级Web服务器。

NXWEB 提供了以下功能:

  • good (if not best) performance; see benchmarks
  • can serve thousands concurrent requests
  • small memory footprint
  • event-driven & multi-threaded model designed to scale
  • exceptionally light code base
  • simple C API
  • decent HTTP protocol handling
  • keep-alive connections
  • chunked requests and responses
  • SSL support (via GNUTLS)
  • HTTP proxy (with keep-alive connection pooling)
  • file cache for proxied content and custom handlers' output
  • cached content can be served when backend is unavailable
  • non-blocking sendfile support (with configurable small file memory cache)
  • cacheable gzip content encoding
  • cacheable image thumbnails with watermarks (via ImageMagick)
  • basic server-side includes (SSI)
  • templating engine with page inheritance
  • subrequests
  • integrated Python interpreter and WSGI-server
  • modular design for developers
  • can be run as daemon; relaunches itself on error
  • open source

项目主页:http://www.open-open.com/lib/view/home/1449402320252