Magento Performance on PHP 5.3, 5.4 and 5.5RC3

<update>Magento 1 now supports PHP 5.4</update> I woke up this morning with a burning desire to do load tests.  Actually, I woke up with a burning desire to not do the same thing I did yesterday and needed a slight change, so I decided to do a load test.  I wanted to see what theContinue Reading “Magento Performance on PHP 5.3, 5.4 and 5.5RC3”


Testing GlusterFS for Magento

I am not a fan of NFS for production information.  NFS is great for aggregating data from across multiple different machines, storing deployment files and other such administrative things.  Serving static content?  No.  I haven’t blogged about it but I have talked about it several times at conferences.  NFS, as a static content distribution mechanismContinue Reading “Testing GlusterFS for Magento”


For the last time, the file system is not slow!!

Having started working at Magento I have been making myself more familiar with many of the different parts of the community.  I have spent a fair amount of time over the past several weeks trying to understand how people work with Magento and what their problems are. One of the things that often comes upContinue Reading “For the last time, the file system is not slow!!”


No-.htaccess httpd.conf file for Magento

A couple of days ago I wrote a blog post on how why you should not use .htaccess files, or AllowOverride != All, on a production web server.  What you should do is place the .htaccess configuration information into your httpd.conf file instead. So of course I was asked what that would look like.  SoContinue Reading “No-.htaccess httpd.conf file for Magento”


Why you should not use .htaccess (AllowOverride All) in production

Commonly known as .htaccess, AllowOverride is a neat little feature that allows you to tweak the server’s behavior without modifying the configuration file or restarting the server.  Personally, I think this is great for development purposes.  It allows you to quickly test various server configurations without needing to mess with restarting the server.  It helpsContinue Reading “Why you should not use .htaccess (AllowOverride All) in production”

Cloud Magento

Magento, ESI, Varnish and performance

I have been doing a little playing with Magento over the past couple of days.  I’ve been helping out Ebay/Magento by delivering some of their performance training over the past few months.  I’m by no means the world’s best Magento person at the moment, but I know the architecture pretty well. One of the thingsContinue Reading “Magento, ESI, Varnish and performance”

Performance Questions

Setting max_input_time (with data!)

I asked a question on Twitter on why some of the recommend max_input_time settings seem to be ridiculously large.  Some of the defaults I’ve seen have been upwards of 60 seconds.  However, after thinking about it I was a little confused as to why a C program (i.e. PHP) would take so long to processContinue Reading “Setting max_input_time (with data!)”

Magento Opinion Questions

Why is FastCGI /w Nginx so much faster than Apache /w mod_php?

I have a new post on using Jetty with PHP-FPM that, if you think this is interesting, you should check that one out. (this post has a sister post on Apache’s event MPM compared to Nginx) I was originally going to write a blog post about why NginX with FastCGI was faster than Apache with mod_php.Continue Reading “Why is FastCGI /w Nginx so much faster than Apache /w mod_php?”