| |
A developer attempts to run 15 million web servers on a single VM with limited resources by optimizing kernel syscalls and working around Linux port limitations. The project demonstrates that basic web servers achieve around 65k requests per second, but scaling to millions of instances requires solving the constraint of the default port range (32768-60999), which only allows ~28,000 listening ports by default. The article uses this constraint as a starting point for exploring low-level networking techniques like smoltcp, DPDK, and AF_XDP to bypass traditional syscall limitations.
Read Full Article →
← More Tech news