L
L

Lwan

 Like

Lwan is a high-performance web server with a low disk and memory footprint. It can serve both static content and dynamic content generated by C or Lua code.

Cost / License

Application type

Since

  • Since 2017

Updated

  • Updated Nov 2026

Releases

  • No releases last yearNone last year

Platforms

  • Linux
0likes
0articles
Save

Features

Features

Highlights All activities

Lwan News & Activities

Recent activities

  • sonumahato0010 added Lwan as alternative to DevBind

Lwan information

AlternativeTo Categories

Network & Admin, Development

GitHub repository

  •  6,043 Stars
  •  550 Forks
  •  50 Open Issues
  •   Updated  
View on GitHub
Lwan was added to AlternativeTo by dbohdan on and this page was last updated .

No comments or reviews, maybe you want to be first?

Official Links

What is 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

Lwan Videos