Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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.


Comment on Re: Re: latest on ithreads vs forks?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2015-11-24 23:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls