News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Doug Brown's Blog:
Zend_Cache is Saving me Money!
July 04, 2008 @ 07:55:01

Doug Brown has posted a new entry to his blog about how the Zend_Cache component of the Zend Framework has saved him some money.

He and his site were taken offline by his own hosting company because of one little detail - the limit on usage for the shared server was 3% and his site was using 30%. Going through his logs, he found the culprit - a "too many connections" message from MySQL due to the number of requests.

I'll admit, I was in a huge hurry to get this project done, so I wasn't thinking about the long term effects. Needless to say, I wasn't caching my MySQL query results. I know, tisk tisk.

He added a new private method to his class (using Zend_Cache to store the date) and dropped the call into his controller to pulled the cached info whenever it needed it.

0 comments voice your opinion now!
zendcache zendframework hosting shared mysql connection usage cache


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: Real-time ZF Monitoring via Zend Server

php|architect: Impact Award Winners (for php|tek '11)

CodeForest.net: Multilanguage support in Zend Framework

Padraic Brady's Blog: PEAR::Encryption and Zend_Crypt Revisited

David Coallier's Blog: Zend_Db Without PDO part #3 (SVN Repository)?


Community Events

Don't see your event here?
Let us know!


api opinion framework release laravel5 library symfony version laravel language unittest voicesoftheelephpant extension security community podcast threedevsandamaybe series interview introduction

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework