Tag Archives: apache

Nginx upload awesomeness

I’ve been a bit busy earning my keep for the last week, hence the lack of progress on by rails performance tuning project.  I will share with you though something I’ve been doing that’s really cool.
A website I’ve been working on allows users to upload files of any size.  Let me just repeat that - [...]

Posted in Miscellaneous | Also tagged , , , , | 2 Comments

Finishing off my base Ruby on Rails install

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 [...]

Posted in Performance Project | Also tagged , , , , | 3 Comments

Configuring and watching Apache.

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 [...]

Posted in Performance Project | Also tagged , , , , , , , , | Leave a comment

Why not passenger / mod_rails?

While I was holidaying over the weekend I received an interesting question via email, something along the lines of:
Can you give me a quick overview on what the trouble was running passeneger/enterprise ruby over multiple servers?  I’m half way through setting up our infrastructure with 1 load balancer passing on to 2 web servers…  running [...]

Posted in Performance Project | Also tagged , , , | 2 Comments

Apache, It Works!

I was looking through the slicehost article section the other night and bumped into an awesome article on initial configuration steps for ubuntu.  If you don’t know what your doing, you should go take a look at that.
So, anyway.  I’ve got a server up and going doing absolutely nothing, and I’m assuming you do too [...]

Posted in Performance Project | Also tagged , , , , , , , , | Leave a comment
  •  

  • About Nahum Wild

    I'm a High Performance Website Consultant specialising in Ruby on Rails deployments. In this blog I cover common problems I've seen and provide insight on optimisation techniques.

  • Recommend Me

    Follow me on Twitter