RSS DAILY NEWS TICKER EXAMPLE


home > overview

Doug Brown's Blog: Zend_Cache is Saving me Money!




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.




click here to see original article or to find similar articles

 RSS DAILY HEADLINES

HEADLINES

Edwards to emerge from seclusion for speech

Aug. 9: Jennifer Palmieri, former staffer for John Edwards tells NBC's Jenna Wolfe that Elizabeth Edwards knew about her husband's affair since 2006, and is relieved the news is now public. (Today Show)In a return to the public stage, John Edwards has confirmed plans to talk politics a month after admitting to an extramarital affair. But his wife won't be at his side.


Australian police clear Indian doctor of involvement in terror (AFP)

Indian doctor, Mohamed Haneef, at a press conference in Bangalore in early August. Australian police have cleared Haneef of involvement in failed bomb attacks in Britain last year after a bungled 14-month probe(AFP/File/Dibyangshu Sarkar)AFP - Australian police have cleared an Indian doctor of involvement in failed bomb attacks in Britain last year after a bungled 14-month probe that is now the subject of a judicial inquiry.


Consumer spending flags, but confidence rises (Reuters)

A shopper walks past a store display in New York July 1, 2008. (Lucas Jackson/Reuters)Reuters - Personal income tumbled unexpectedly in July and inflation-adjusted spending shrank as government economic stimulus waned, but consumer spirits rose this month, a hint the economy may muddle through its woes.



Find this article in Google