Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Re: latest on ithreads vs forks?

by liz (Monsignor)
on May 29, 2004 at 09:41 UTC ( #357445=note: print w/replies, xml ) Need Help??

in reply to Re: latest on ithreads vs forks?
in thread latest on ithreads vs forks?

Latency in the inter-thread communication in forks is much higher than with threads, as it uses a TCP/IP socket and Storable for it.

Thread startup, especially if you have a lot of modules loaded, should be faster with forks, as there is no copying of data-structures when a thread is started with forks (it just does a fork()). However, every thread with forks, has a bit of latency at startup, because of the setting of the inter-thread communications socket.

Hope this explains it a bit.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://357445]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-01-20 12:08 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (226 votes). Check out past polls.