The C10K Problem - Hands-On Software Architecture With Golang ...

Skip to main content

Get full access to Hands-On Software Architecture with Golang and 60K+ other titles, with a free 10-day trial of O'Reilly.

There are also live events, courses curated by job role, and more.

Start your free trial

At the start of the 21st century, engineers ran into a scalability bottleneck: web servers were not able to handle more than 10,000 concurrent connections. For example, for the Apache server, performance was inversely proportional to the number of concurrent connections. Daniel Kegel wrote a paper (http://www.kegel.com/c10k.html ) about this problem in detail, and included his tuning on how to get one web server to handle 10,000 connections.

Apache (until Version 2.4) could be configured to run in two main modes: pre-forked or worker multi-process mode (MPM). Either way, with each request that is currently active in the system, one thread is hogged up and competes for resources like CPU and memory with all other threads. ...

Get Hands-On Software Architecture with Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.

Start your free trial

Don’t leave empty-handed

Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.

It’s yours, free.

Get it now
Cover of Software Architecture Patterns
Close

Check it out now on O’Reilly

Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems every day.

Start your free trial Become a member now
Close

Từ khóa » C10k