in reply to Re: Database or Storable?
in thread Database or Storable?
Thanks, and my apology for not offering sufficient details.
The questions are stored in the database (MySQL). The total statistics need to be accessed every time the web page is accessed, because they are displayed e.g. (Maths -> 3000 questions, English -> 2050 questions, etc). The total statistics don't change frequently, only when new questions are added or when existing ones are deleted (but that doesn't happen so often). Speed of access is important - the faster, the better.
I've saved the total statistics in Perl Storable. I'm guessing it's more efficient to get these values from the stored hash reference than querying the database. But I'm not exactly sure.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Database or Storable?
by GrandFather (Saint) on Mar 09, 2009 at 09:29 UTC | |
|
Re^3: Database or Storable?
by BrowserUk (Patriarch) on Mar 09, 2009 at 10:59 UTC | |
by Anonymous Monk on Mar 09, 2009 at 11:29 UTC |