http://www.perlmonks.org?node_id=1039611


in reply to socket server threads or fork

I think the best option is use fork for starting new process by each connection because what I need is performance and I don't need to share info between the established connections.

If you are on *nix, use fork; if you are on Windows, use threads. If you need to run anywhere perl does, use the latter.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.