RE: [SMARTY] Serious Performance Issues
| From: | UpFront Technology | Date: | Thu, 24 Jun 2004 14:11:16 +0000 |
| Subject: | RE: [SMARTY] Serious Performance Issues | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11502@lists.php.net to get a copy of this message | ||
I have been using Smarty in a production environment for about a year now in
a Linux box and Dell servers. I have found that Smarty is an excellent
engine used properly. I had many issues when first learning the proper way
to configure the cache features. After configuring Smarty properly with PHP
Accelerator, the downloads are incredibly fast.
Joe
-----Original Message-----
From: boots [mailto:jayboots@yahoo.com]
Sent: Wednesday, June 23, 2004 8:35 PM
To: smarty-general@lists.php.net
Subject: Re: [SMARTY] Serious Performance Issues
> > I'm using smarty for a template engine, and am experiencing some
> > serious performance issues, when I'm running it on a Win2k server,
> > with Apache, PHP, etc.
> > I am using the cached options, but it still takes ages to load.
> > Does anyone have any suggestions for improving it?
>
> maybe not using windows as a webserver would improve it considerably
> :)
Windows or Linux, you'll want to be using a PHP opcode cache
(accelerator). This has dramatic effects on Smarty and many other PHP
scripts, of course. For windows, you will likely want the Turck
MMCache.
Before fingering Smarty and using terms like "serious performance
issues" and "takes ages to load", consider giving some examples of your
performance issues and reasons you think Smarty is the culprit. I'm
sure I'm amoung the many who would want to try to resolve any (obvious)
bottlenecks should they exist. FWIW, I'm seeing nearly instantenous
replies from one of my intranet sites that has approximately 1500 users
on a single NT based server which also talks to multiple dbs and uses
Smarty for the presentation layer. That server also hosts other sites
(both Apache and IIS) as well as SQL Server and MySQL, so its not an
idle box--but it has excellent I/O and tons of RAM.
Cheers and good luck!
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php