Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Threading vs perl

by Eyck (Priest)
on Jun 20, 2005 at 13:46 UTC ( [id://468345]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Threading vs perl
in thread Threading vs perl

If I understand you correctly, you're using threads instead of scatter/gather processing?

I don't really see where exactly the gain would be, is the programming simpler, or maybe the setup?

However, I find this statement to be really strange: Any large structure(s) of data where different subsections can be worked on independantly, but the results must be fed back to the main process would benefit from threads. This is perfect application for workers pool model, why do you believe threads fit here?

If there would be really large structure, something like gigabytes-worth-of-data, that need to be edited in place, and can be edited by multiple workers, that would be perfect application for threads.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-16 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found