2 ms·
Every piece of shared state. In the case of something like a web server, you only need one lock: when the connection is being accepted and handed off to a worke
by IgorPartola 10y ago
Every piece of shared state. In the case of something like a web server, you only need one lock: when the connection is being accepted and handed off to a worker thread. How many reads and writes does your web server perform?