Back in June last year I wrote about creating a WordPress cluster on Amazon’s EC2. In this post I’ll run through a couple of the problems with that cluster, I’ve experienced, and how I solved them with Amazon’s Auto Scaling service.
The problems with the cluster
A couple of things were not ideal with the cluster that I’ve been putting up with for far too long but finally set aside some time this afternoon to fix.
1) The price of micro-sized spot instances spikes, to crazy prices, sometimes.
This has meant that although the price of micro instances while they’re running is cheap, when the price spikes they all die off and leave the cluster vulnerable. Unfortunately to set up auto-scaling in combination with spot-priced micro instances would require coding up a hybrid solution with shell scripts, and although I enjoy tinkering with this setup, I can’t justify that much effort when an out-of-the-box solution exists, Auto Scaling.
Continue Reading…
Hi! I'm Ashley Schroder, a
WordPress: Blank page after posting comments and Akismet
June 30, 2010 in Web Development with 2 Comments
Just a real real quickie related to WordPress here, not Magento. If you find adding comments in wordpress causes a blank page – try disabling akismet. If that fixes it, it probably means the domain you were using to test with in the comments field has been marked as spam by Akismet. WordPress serves up the blank page as a feature to prevent spam bots. No errors were logged though, so it made it a bit tricky to figure out what’s going on.
There are loads of other people with this problem, or variations of it online – googling around there semeed to be a lot of confusion – my sugegstion is to try disabling akismet first.
Other possible causes though I found and tried before getting to Akismet: Old theme with incorrect comment form on a newer version of wordpress – compare it to the default theme for your version of wordpress. Caching – try disabling your cache if you use one.
Hope that saves someone some time. Magento content coming soon, promise…