Inkme News

← Back to list

15 million web servers on one VM - smoltcp, DPDK, AF_XDP

The author demonstrates how to run 15 million web servers on a single VM with 10GB RAM and 1 CPU core using smoltcp, DPDK, and AF_XDP. Starting from a basic C TCP server implementing listen/accept/recv/send syscalls that achieves ~65k RPS, the article builds toward ultra-efficient network stack optimizations that bypass traditional kernel overhead.

Background

The article explores extreme networking optimization techniques including user-space packet processing (DPDK) and eXpress Data Path (AF_XDP) to minimize per-connection overhead, aiming to host millions of concurrent lightweight web servers on minimal hardware.

Source
Lobsters
Published
Nov 19, 2026 at 09:38 PM
Score
7.0 / 10