News › performance

Custom runtime experiment reports 16 million tiny web-server guests

By The Linux Camp News, November 27, 2026

Artem Yarulin reports reaching 16 million server guests using smoltcp, with roughly 620 bytes per idle server in his experiment.

Artem Yarulin’s experiment explores how a specialized runtime can host millions of tiny web-server guests. He reports reaching 16 million using smoltcp, with about 620 bytes per idle server and roughly a kilobyte per active one. Those are his measurements for this workload. 1

The runtime intercepts guest system calls and replaces their networking operations with the smoltcp network stack and adapters. That changes where networking work happens: the guest calls into a shared custom implementation rather than each server simply being an ordinary Linux process. 1

Its scheduler polls the network adapters for incoming data, wakes a guest to process that data and then switches to another guest. The design therefore combines many guest programs with a runtime that decides which one has network work to perform. 1

The useful engineering result is the reported per-guest memory footprint under this design. It offers a concrete case for investigating networking overhead, but the guest count alone does not measure throughput or establish capacity for arbitrary production web applications. 1

Yarulin explicitly distinguishes the proof of concept from a fully compatible Linux runtime. Reimplementing every system call with full POSIX compatibility remains a larger problem, so the demonstration should not be read as a drop-in way to run millions of existing Linux services. 1

Sources

Courses