in reply to
Multithreaded Socket Listener
You are re-inventing a well-worn wheel here ...
One process should sit in a select loop waiting for incoming requests, then it should enqueue those requests to send them to a phalanx of waiting servers that will each provide a response.
Wait! Wait! I just described FastCGI (and Plack).
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (60 votes),