Английская Википедия:C10k problem

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description

The C10k problem is the problem of optimizing network sockets to handle a large number of clients at the same time.[1] The name C10k is a numeronym for concurrently handling ten thousand connections.[2] Handling many concurrent connections is a different problem from handling many requests per second: the latter requires high throughput (processing them quickly), while the former does not have to be fast, but requires efficient scheduling of connections.

The problem of socket server optimisation has been studied because a number of factors must be considered to allow a web server to support many clients. This can involve a combination of operating system constraints and web server software limitations. According to the scope of services to be made available and the capabilities of the operating system as well as hardware considerations such as multi-processing capabilities, a multi-threading model or a single threading model can be preferred. Concurrently with this aspect, which involves considerations regarding memory management (usually operating system related), strategies implied relate to the very diverse aspects of I/O management.[2]

History

The term C10k was coined in 1999 by software engineer Dan Kegel,Шаблон:R[3] citing the Simtel FTP host, cdrom.com, serving 10,000 clients at once over 1 gigabit per second Ethernet in that year.[1] The term has since been used for the general issue of large number of clients, with similar numeronyms for larger number of connections, most recently "C10M" in the 2010s to refer to 10 million concurrent connections.[4]

By the early 2010s millions of connections on a single commodity 1U rackmount server became possible: over 2 million connections (WhatsApp, 24 cores, using Erlang on FreeBSD)[5][6] and 10–12 million connections (MigratoryData, 12 cores, using Java on Linux).[4][7]

Common applications of very high numbers of connections include general public servers that have to serve thousands or even millions of users at a time, such as file servers, FTP servers, proxy servers, web servers, load balancers.[8][4]

See also

References

Шаблон:Reflist

  1. 1,0 1,1 Шаблон:Cite web
  2. 2,0 2,1 Шаблон:Cite book
  3. Ошибка цитирования Неверный тег <ref>; для сносок Dan Kegel, kegel.com, 1999 не указан текст
  4. 4,0 4,1 4,2 Шаблон:Cite web
  5. Шаблон:Cite web
  6. Шаблон:Cite web
  7. Шаблон:Cite web
  8. Шаблон:Cite book