3 ms·
From my understanding, the C10K concept is more a thread problem than a RAM limitation. It happens when each request create its own thread on server (as in Apac
by olivier1664 14y ago
From my understanding, the C10K concept is more a thread problem than a RAM limitation. It happens when each request create its own thread on server (as in Apache or IIS). Computer have problem to run 10,000 threads in same times: too much time is consumed by the OS to find the one thread that is not blocked/locked or waiting for datadabase results.
Node.JS solve this problem by doing all in Asynchronous way (in only one thread).
GO solve this pb by doing clever threads (goroutine).
Functional programming seems to be very good on this issue (no need of lock mecanism and light thread).
- deleted 14y ago[deleted]