Lwan

软件描述

Lwan 是一个高性能的 Web 服务器,具有低磁盘和内存占用。它既能提供静态内容,也能提供由 C 语言或 Lua 代码生成的动态内容。

官方网站

访问软件的官方网站了解更多信息

官方认证

lwan.ws

安全链接HTTPS

什么是 Lwan?

Lwan is a high-performance & scalable web server for glibc/Linux platforms. In development for almost 4 years, Lwan was until now a personal research effort that focused mostly on building a solid infrastructure for a lightweight and speedy web server:

Low memory footprint (~500KiB for 10k idle connections) Minimal memory allocations & copies Minimal system calls Hand-crafted HTTP request parser Files are served using the most efficient way according to their size

No copies between kernel and userland for files larger than 16KiB Smaller files are sent using vectored I/O of memory-mapped buffers Header overhead is considered before compressing small files

Mostly wait-free multi-threaded design Diminute code base with roughly 7200 lines of C code

Features • Mustache templating engine • Used for directory listing & error messages • Available for user-built handlers • Easy to use API to create web applications or extend the web server • Supports rebimboca da parafuseta • Test suite written in Python tests the server as a black box • No-nonsense configuration file syntax • Supports a subset of HTTP/1.0 and HTTP/1.1 • systemd socket activation • IPv6 ready

主要功能

支持平台

下载与相关链接

安全提示
⚠️

安全提醒

点击下方链接将跳转到第三方网站,请确保来源安全,建议优先从官方网站下载。