Category Archives: Performance
When not to put debug info on your production site
Title says it all. http://outlet.lenovo.com/report/?id=-528847430&s=public SQLSTATE[HY000]: General error: 5 Out of memory (Needed 25165796 bytes) Trace: #0 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Abstract.php(457): Zend_Db_Statement->execute(Array) #2 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query(‘SELECT COUNT(DI…’, Array) #3 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php(281): Zend_Db_Adapter_Pdo_Abstract->query(‘SELECT COUNT(DI…’, Array) #4 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Abstract.php(761): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array) #5 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Data/Collection/Db.php(162): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array) … Continue reading
Amazon’s MySQL and more EC instances
One of the major offerings from Amazon Web Service (AWS) is Simple DB, similar to Google’s bigtable, which is not a relational database. Some people have managed to migrated their applications to SDB in order to move their application to … Continue reading
Chrome 4.0.222.5 for Mac released
If you are on the dev channel, your Chrome will be upgraded automatically. There are some new features as well as some bugfixes. New features include enabling “Edit Search Engine” menu item, and “default browser”. Performance-wise, it seems this version … Continue reading
Windows 7 Visualization on Mac OS X
Image via Wikipedia Since I got my first Macbook Pro one week ago, the overall experience has been pretty positive. One of most impressive feature I like is quick switch from/to sleep mode. In Windows (and Linux) it usually takes … Continue reading
Migrating to Phusion Passenger
I have been using nginx and mongrel for my rails application on my 256 slice. It has been nice, except administration is becoming a big overhead when considering all the stuff I had to deal with fastcgi scripts for my other … Continue reading