good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
threads::shared vs IPC::Shareableby Nar (Novice) |
on Dec 02, 2015 at 18:23 UTC ( [id://1149196]=perlquestion: print w/replies, xml ) | Need Help?? |
Nar has asked for the wisdom of the Perl Monks concerning the following question:
Monks
Looking for feedback on writing an application. The application consist of two primary parts, preprocesser and processer. Multiple preprocessers will run and preprocess different log files moving the results to a hash then a single processer will pull contents from the hash and delete the element after processing. Does anyone have feedback on implementation of this? My two thoughts were:1.) use threads and threads:shared to share a hash between multiple preprocessers running as threads of the processer 2.) Create indivudal preprocesser scripts and processer script and share the hash via IPC::Shareable
Back to
Seekers of Perl Wisdom
|
|