Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Threads Vs Fork

by zentara (Cardinal)
on Nov 08, 2008 at 14:48 UTC ( [id://722403]=note: print w/replies, xml ) Need Help??


in reply to Threads Vs Fork

Try Simple threaded chat server and see how it works for you. What you want to watch out for is a memory gain after a long run time. The thing is forks cleanup after themselves completely, whearas a threaded app MAY retain some useless references and gain memory with prolonged usage.

I'm not really a human, but I play one on earth Remember How Lucky You Are

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://722403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2025-06-15 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.