Problems? Is your data what you think it is? | |
PerlMonks |
Re: Use of do() to run lots of perl scriptsby LanX (Saint) |
on Mar 02, 2021 at 18:26 UTC ( [id://11129024]=note: print w/replies, xml ) | Need Help?? |
> Would it make sense to modify my application so that worker perl scripts are invoked via do() instead of system calls? no, the most common bottlenecks are
do FILE can't solve this, only pre-compiling all scripts and keeping them in memory, the way modperl or FCGI do. Although first step should be a thorough analysis where the performance is lost.° Worst-case would be that you'll need to expand to a multi-server farm.
Cheers Rolf °) sometimes a RAM disk is the easiest solution.
updateI missed the info about the pre-froking. see Re^4: Use of do() to run lots of perl scripts for more
In Section
Seekers of Perl Wisdom
|
|