The C10K problem
It's time for web servers to handle ten thousand clients simultaneously, don't you think? After all, the web is a big place now. And computers are big, too. You can buy a 1000MHz machine with 2 gigabytes of RAM and an 1000Mbit/sec Ethernet card for $1200 or so. Let's see - at 20000 clients, that's 50KHz, 100Kbytes, and 50Kbits/sec per client. It shouldn't take any more horsepower than that to take four kilobytes from the disk and send them to the network once a second for each of twenty thousand clients. (That works out to $0.08 per client, by the way. Those $100/client licensing fees some operating systems charge are starting to look a little heavy!) So hardware is no longer the bottleneck. In 1999 one of the busiest ftp sites, cdrom.com, actually handled 10000 clients simultaneously through a Gigabit Ethernet pipe. As of 2001, that same speed is now being offered by several ISPs, who expect it to become increasingly popular with large business customers. And the thin client model of
[Help save the best Linux news source on the web -- subscribe to Linux Weekly News!] It's time for web servers to handle ten thousand clients simultaneously, don't you think? After all, the web is a big place now. And computers are big, too. You can buy a 1000MHz machine with 2 gigabytes of RAM and an 1000Mbit/sec Ethernet card for $1200 or so. Let's see - at 20000 clients, that's 50KHz, 100Kbytes, and 50Kbits/sec per client. It shouldn't take any more horsepower than that to take four kilobytes from the disk and send them to the network once a second for each of twenty thousand clients.…
saved by
related reading
- The Architecture of Open Source Applications (Volume 2)nginxaosabook.org
- What Every Programmer Should Know About Memorypeople.freebsd.org
- epoll: The API that powers the modern internet · Graham Kingdarkcoding.net
- Crawling a billion web pages in just over 24 hoursandrewkchan.dev
- The New Internet: Tailscale's Vision for the Future of Connectivitytailscale.com
- Why your website should be under 14kB in size | endtimes.devendtimes.dev
- Production Twitter on One Machine? 100Gbps NICs and NVMe are fast - Tristan Humethume.ca
- pketh.orgpketh.org
- To Thread or Not to Thread: An In-Depth Look at Ruby’s Execution Models - Shopifyshopify.engineering
- A Fundamental Turn Toward Concurrency in Softwaregotw.ca
- Do YOU know how much your computer can do in a second?computers-are-fast.github.io
- Reading 18: Message-Passing and Networkingweb.mit.edu