MyNixOS website logo
Description

Lightweight high-performance multi-threaded web server.

A lightweight and speedy web server with a low memory footprint (~500KiB for 10k idle connections), with minimal system calls and memory allocation. Lwan contains a 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. Features include: mustache templating engine and IPv6 support.

Metadata

Version

0.5

Maintainers (1)

Executables (1)

  • bin/lwan

Platforms (21)

    Linux
Show all
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-linux
  • armv7l-linux
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390-linux
  • s390x-linux
  • x86_64-linux