Welcome to the Monastery | |
PerlMonks |
Re: Techniques to cache perl scripts into memory ?by flexvault (Monsignor) |
on Dec 18, 2010 at 18:55 UTC ( [id://877787]=note: print w/replies, xml ) | Need Help?? |
These aren't big or complicated scripts but at peak times the result can be several calls per second to several scripts. Are there a sub-set of your scripts that are called more often? If you have this information or can get the information from logs, it might help you get a sub-set of the scripts and make them resident in ram. This information may also help you look for bottle necks with-in your own scripts. For example, a script the opens a temporary file on the same disk where it resides will not help your performance. I agree with the other suggestions offered you, but a better understanding of what is happening in your environment will help you solve the disk usage problem. Good Luck "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|