wordpress -> middleman lessons learned in the 2-years since migrating
About James · Front-end Dev · Focused on ZURB Foundation · Author, Blogger, vLogger
How do you survive the Hacker News Front Page?
Wordpress usually won't cut it
Most Heroku rails apps die
We added more dyno's! It's back up!
How do you survive as a blogger · 6,000 users within about an hour · If they stayed a minute on average · 100 concurrent users minimum · Large spike at the start tapering off
The tests 1 · Started with ab (Apache Bench) · Static variant against an optimized wpsupercache enabled Wordpress site, same content · Traded Apache for Nginx, started optimizing · RackSpace 512mb Ubuntu based server 1 http://httpd.apache.org/docs/2.2/programs/ab.html
The results · Even simple php scripts ran 6 - 12x slower than a static counterpart · Approximately the same ratio for the number of concurrent connections with minimal slowdown
Static Site Generators
Octopress · complicated themes with a lot of partial granularity · themes were not great, had an Octopress look
Middleman · Very flexible · Ruby based · Sprockets Asset Pipeline · Worked great with ZURB Foundation · Could create anything you want fast
commit 020f4159ba448412fadc461c097dc637c18d85f4 Author: James Stone <[email protected]> Date: Sat Nov 23 21:02:54 2013 +0100 initial commit
James Stone @JAMESSTONEco [email protected]