15M web servers on one VM – smoltcp, DPDK, AF_XDP
Trending on Hacker News: 15M web servers on one VM – smoltcp, DPDK, AF_XDP (363 points / 41 comments, via kapteko.com)
Opening excerpt
Put a web server online and everyone starts trying to hack it. Why? A basic rule of economics. Short supply, big demand - there aren’t enough web servers for everyone. Let’s run a web server for every human on the planet, all 8 billion of them. I couldn’t get funding, so we’re bootstrapping. The goal is to run 15 million web servers on one VM with 10GB of RAM and 1 CPU core. If we succeed, I’ll find some RAM from old microwaves around the house and we’ll scale it up so everyone can have their own web server. Demand will drop to zero and cybersecurity will be solved once and for all. Web server Instead of vibe coding it all, let’s use an ancient technique called learning . First of all, what is a web server? There are a few essential syscalls. listen - syscall, asks kernel to listen for connections on a socket accept - syscall, accepts a connection on a socket recv - receives data from a socket send - sends data close - closes What is a syscall? A function that is executed by the OS kernel.
(Excerpted from the original; full article via the source link below.)
This story hit the Hacker News front page today (363 points / 41 comments, via kapteko.com). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.
Source: Hacker News