4 ms·
I measured less than half a millisecond to fork, print time, and wait for child to exit. http://paste.dy.fi/NEs/plain http://paste.dy.fi/NEs/plain So forking
by clarry 7y ago
I measured less than half a millisecond to fork, print time, and wait for child to exit.
http://paste.dy.fi/NEs/plain http://paste.dy.fi/NEs/plain
So forking alone doesn't cap performance too much; one or two cores could handle >1000 requests per second (billions per month).