Menu

One VM, 15 Million Web Servers: The Per-Socket Tax Your Kernel Charges
πŸ“°

One VM, 15 Million Web Servers: The Per-Socket Tax Your Kernel Charges

DEV Community: pythonΒ·Chen YuanΒ·about 2 hours ago
#CRsTQykC
#devtopython#devto#dev#kernel#million
Reading 0:00
15s threshold

How many web servers can one virtual machine hold? Not how many requests it can answer per second, and not how many containers you can squeeze onto it, but something more literal: how many servers can each open a socket, listen on their own address, and answer a request, all at the same time?

A writeup published this week by kapteko asked exactly that question under a hard budget: one VM, ten gigabytes of RAM, one CPU core, and a target of fifteen million web servers. It reads like a joke whose punchline is fixing the economics of hacking by making servers too abundant to attack, but underneath the humor sits one of the clearest public walkthroughs of what the Linux kernel actually charges you for networking, and what it costs to stop paying.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.