Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Techniques to cache perl scripts into memory ?

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

  • Comment on Re: Techniques to cache perl scripts into memory ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found