Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: CGI data from memory w/o mod_perl

by Hrunting (Pilgrim)
on Dec 24, 2001 at 20:00 UTC ( #134167=note: print w/replies, xml ) Need Help??

in reply to CGI data from memory w/o mod_perl

It's not a bad idea, but it's certainly more complicated than it needs to be, and you have to deal with the added complexity of a socket.

If what you're looking for is faster disk access (and it sounds like you are), setup a in-memory filesystem (for example, on a Solaris box, /tmp is usually just RAM, and files written to it are really being written straight to memory). Essentially, it's a poor man's memory cache, but it will make your file access a LOT faster, and you don't have to change anything except the path location. The OS will manage moving things out of memory and into swap as it needs to.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2023-03-25 04:42 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (62 votes). Check out past polls.