Experiment tries to run 15 million web servers on a single-core 10GB VM
What happened
A Hacker News post on November 19 describes an attempt to run 15 million web servers on one VM with 10GB of RAM and a single CPU core, using smoltcp, DPDK and AF_XDP. The author first wrote a minimal syscall server in C and reached about 65,000 RPS. Ports are capped by u16 and the ip_local_port_range of 32768–60999, and each process takes about 1.5MB, roughly 20TB at the target scale. The post reports early benchmarks and the port and memory limits; it does not say the 15 million goal was reached.
Written by AI from the coverage · updated yesterday
Coverage
Follow the reports to see the story from different sides.
- Hacker News front page15M web servers on one VM – smoltcp, DPDK, AF_XDP
一项实验尝试在 10GB 内存、1 个 CPU 核心的单台 VM 上运行 1500 万个 Web 服务器。作者先用 C 写最小 syscall 服务器达到约 65k RPS,但发现端口上限(u16、ip_local_port_range 32768-60999)和每进程 1.5MB 内存(合计约 20TB)都无法满足目标。
Heat over time
Heat now 4·Comparable peak 10(Nov 19 15:00)·Comparable change over 24 hours -51%
The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.