Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Module uses loads of CPU.. or is it me

by hsinclai (Deacon)
on Dec 11, 2007 at 13:34 UTC ( [id://656403]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Module uses loads of CPU.. or is it me
in thread Module uses loads of CPU.. or is it me

Wow thanks for digging this deep to find this problem! That is awesome.

And thanks also for the suggestions, though writing a new XML parsing tool seems a little much (if not a little bit daunting too:), and not knowing what the actual return will be makes me wonder if it's worth it in this case.

Now I wonder if this exact issue has not been encountered in other XML applications, and if so, how it was improved.

Thanks again,

-H

Replies are listed 'Best First'.
Re^5: Module uses loads of CPU.. or is it me
by redhotpenguin (Deacon) on Dec 11, 2007 at 17:22 UTC

    Well I think you should take a serious look at some of the lower level methods in Net::S3::Amazon and try to develop a parallelized application. It isn't likely that you will be able to increase the efficiency of the parser by double, but I think with a few hours hacking you could get a parallelized version of your program that you can make Nx speedups with.

      Without hacking too deeply, some parallelization might be acheived by using the "marker" method already in the module itself, and having parallel fetches in batches. Looking further into the module I think I found an error or bug (maybe it's just a documentation bug) http://rt.cpan.org/Public/Bug/Display.html?id=31381.

      Going much further is going to be a question of (my) available time right now -- but I really do appreciate the push!

      -Harold

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found