Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: "niceing" a CGI script

by AgentM (Curate)
on Mar 13, 2001 at 06:14 UTC ( [id://64044]=note: print w/replies, xml ) Need Help??


in reply to "niceing" a CGI script

In fact, if you want to limit the amount of resources your script eats, you'd want to use nice, but considering that you probably want to SPEED UP the script, you have a few options:
  • migrate the entire search mechanism to the database
  • unbuffer script output through server, so client gets something while waiting for next results (gives illusion of speed)
  • use ReiserFS for that FS speed boost
  • use smart cacheing, perhaps the easiest option to implement
  • use the unbuffering I mentioned above in congruence with Bone::Easy to insult the user away from waiting for further results

Good luck!

AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-16 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found