By nahum | September 3, 2008
So far I’ve configured Nginx to handle file uploads by caching the file to disk and telling rails where it is, rather than passing it through in the request, not fun with large files. Now to do the reverse. Instead of Rails sending files to users thru Nginx, Rails can tell Nginx what file to [...]
By nahum | August 23, 2008
Amazon’s persistent storage beta program for Elastic Cloud Computing (EC2) has been unleashed on the general public. I’ve been hanging out to play with this for a while and will duplicate any tests I perform on Slicehost servers with comparable EC2 servers with EBS. Since I’m also essentially comparing two different providers, I’ll look at [...]
By nahum | August 7, 2008
So I got sidetracked with Apache in my last post. Here I’m going to finish up the install basics sans automated deployment. At the moment I’m just jumping onto the server and going:
git pull
mongrel_rails cluster::restart
All my server is showing at the moment is this. It’s amazing I know and people will talk about it for [...]
By nahum | August 3, 2008
You may have noted that I installed the apache2-mpm-worker package rather than apache2-mpm-prefork even though I’m using a VPS to host the site. If you google them you’ll find recommendations to only use worker on big beefed-up servers. The reason for my decision is described in the first paragraph on worker’s webpage:
By using threads to [...]
After watching a rather sloppy rugby game in which the All Blacks couldn’t hold onto a ball to save themselves I jumped back online to find my gem updating process was still using lots of memory and no cpu. After being amused by the comparison to the rugby game I killed it and got slicehost [...]