mt2k has asked for the wisdom of the Perl Monks concerning the following question:
I have heard a lot about databases being stores in memory for quick swapping of information. I have heard about the whole thing of decreased access time and handling, and am now very interested in the subject!
My current web site locks a file at the beginning of the script to ensure that only one request is asked of my database file at once. Unfortunately, my database at the moment is a data structure printed to a file via Data::Dumper. The data structure is a hash (%db) that contains all my data.
I cannot say much about the subject, as I have never dealt with Apache modules before, but if my memory serves me correctly (which I highly doubt!), I remember hearing something about the whole memory subject being related to the Apache modules.
I am very interested in knowing whether it is possible to store this hash in memory, where my CGI scripts could access and update it. If anyone either has some knowledge on this subject or any good reference documents, please let me know!
Many, many thanks in advance!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Databases Stored In memory
by samtregar (Abbot) on May 05, 2002 at 22:58 UTC | |
Re: Databases Stored In memory
by lhoward (Vicar) on May 06, 2002 at 01:15 UTC | |
Re: Databases Stored In memory
by perrin (Chancellor) on May 06, 2002 at 16:40 UTC |