in reply to Storing Large Amounts of Trivial Data

Much of the speed involved is based upon the database system. It can do alot of the data handling. Like said above, you can review the source code for the perlmonks engine/site and see what other processing they might do, however, most of it will be crafted into the database server.

For sites that contain a lot of data, the thing that will slow it down is a slow database server (or connection to it).

----------------------------------------------------------
#!/usr/bin/perl
@==qw/p e r l m o n k s/;$|*=1;@;=qw/8 15 7 9 -1 7 7 2 0/;
foreach$-(@=){for(++$|..$;[$:++]){$-++}$..=$-}$.=~s/m/l/g;
$*=$;[4]+1;for($;[9]..$;[0]/2){$,.=substr($.,$*++,1);$*++;
}print$,;#http://www.perlmonks.org/index.pl?node_id=98506;
  • Comment on Re: Storing Large Amounts of Trivial Data