Poss. performance issue with DB-based language scheme?
| From: | Gary Loescher | Date: | Wed, 02 Oct 2002 15:03:32 +0000 |
| Subject: | Poss. performance issue with DB-based language scheme? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6087@lists.php.net to get a copy of this message | ||
Hi all,
Wanted to get your opinion on this. I'm trying out a Smarty-based
shopping cart which stores all text in a MySQL DB to allow for different
languages. However, the entire current language set (about 450 entries,
all MySQL "TEXT" types) is retrieved and stored in an array in Smarty
prior to each invocation.
It works fine on my development box, but what about scaling up to a site
with moderate to heavy traffic? The cart loads approx. 20 templates per
page and doesn't use caching at all (separate issue, I guess).
Gary