in reply to Sharing data structures in mod_perl
If your structures are complex enough, I've heard it was actually better to use a real database to share things! That is, for some amazingly small number of elements in a hash, it was faster to do a data query to PostgreSQL to fetch the interesting parts through a DBI query than to simply use Storable, write it to disk, read it from disk, and then look at it in Perl. Interesting scaling point. That stuck in my brain because it was counterintuitive at the time, both to the observer, and to me.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Sharing data structures in mod_perl
by Hero Zzyzzx (Curate) on Mar 28, 2002 at 16:23 UTC | |
|
Re: •Re: Sharing data structures in mod_perl
by andye (Curate) on Mar 28, 2002 at 16:28 UTC | |
by Hero Zzyzzx (Curate) on Mar 28, 2002 at 16:49 UTC | |
by perrin (Chancellor) on Mar 28, 2002 at 17:08 UTC |