in reply to Basic Perl trumps DBI? Or my poor DB design?
If you have enough memory, you could write a daemon process that would hold the entire dataset in memory. Other processes could communicate with the daemon process to ask questions. Have the daemon process periodically re-read the data from disk to bring in the changes. That way you could get even higher performance than the custom flat-file approaches by avoiding all disk IO.
L
|
---|
Replies are listed 'Best First'. | |
---|---|
Writing a Perl Daemon (was: Basic Perl trumps DBI? Or my poor DB design?)
by argv (Pilgrim) on Oct 26, 2004 at 00:50 UTC | |
by lhoward (Vicar) on Oct 26, 2004 at 13:05 UTC |
In Section
Seekers of Perl Wisdom