3 ms·
One detail that doesn't seem to be mentioned here or in the linked article is how the multiplexing of sockets is actually handled at the kernel level. Does the
by robbles 13y ago
One detail that doesn't seem to be mentioned here or in the linked article is how the multiplexing of sockets is actually handled at the kernel level.
Does the kernel use some sort of round-robin approach to assigning client sockets to processes waiting on accept()? This is one area where I'd imagine a dedicated master process would be beneficial, as it could implement "smarter" load balancing based on the health and response times of its child processes.