15M web servers on one VM using smoltcp, DPDK, AF_XDP
Archived — this story has rotated out of today’s deck. It is kept here in full.
The gist
Developer kapteko ran 15 million web servers on one VM with 10GB RAM and one CPU core.
The test shows moving networking out of the kernel cuts memory per connection.
Background
kapteko is the author of a technical article testing how many web servers a single virtual machine can host. Starting from a plain C web server that handled around 65k requests per second, the author hit the Linux port limit when trying to start 15 million servers, then examined kernel memory limits and built userland networking alternatives. The project is framed as a joke about supply and demand: there aren't enough web servers for everyone, so the goal is one server per human on the planet.
How it unfolded
- Nov 18, 2026Article published describing an attempt to run 15 million web servers on one VM with 10GB of RAM and one CPU core.
- Nov 19, 2026The story was posted to Lobsters and discussed on Devtalk and hckrnws.
Key terms
- VM
- A software emulation of a computer system that provides the functionality of a physical computer in an isolated environment.
- kernel
- Core program of an operating system that controls all hardware and system resources and mediates between processes.
- userland
- The memory region in an operating system where ordinary application programs run, separated from the protected kernel space.
Source: Wikipedia
Who’s saying what
- Author
- The kernel network stack exhausts RAM at around 2.5M web servers and requests per second drop as more run, while smoltcp uses about 620 bytes per idle server and around a kilobyte for an active one, reaching 16M servers.
- Author
- DPDK is clearly the best in this benchmark with AF_XDP just behind it, and moving the network stack to userland gives full control over RAM usage and improves performance.
- Public
- An hckrnws commenter said the title is underselling the story, and a Reddit r/linux commenter described it as kernel bypass and a userland TCP/IP stack to run one server for every human on the planet.