Tutorials by Adam Leskis

Hands-on deep dives into DevOps and server-side topics, with every command runnable in an attached remote playground.

Tutorial

Can One VM Really Host 15 Million Web Servers?

After reading "15 million web servers on one VM" (kapteko.com), I decided to see it in action for myself. So this tutorial uses a real Linux VM to edit, compile, and run small C and Rust programs while reproducing the Linux limits behind the source article. Explore ephemeral ports, per-process memory, and idle kernel sockets. Then run 15,000,000 smoltcp listeners in one user-space process and send requests to them to reproduce the findings from the article.

Can One VM Really Host 15 Million Web Servers? (cover image)