15 million web servers on one VM - smoltcp, DPDK, AF_XDP · kapteko
The author explores running 15 million web servers inside a single virtual machine with limited RAM by examining memory limits in the Linux kernel and implementing userland networking alternatives. The investigation demonstrates how moving from the kernel network stack to userland tools like smoltcp, DPDK, and AF_XDP can drastically reduce memory overhead per connection and scale the number of active servers. Open article →