Rails app costs minimum 15$/month?
Posted by: konsty
Posted on: 2009-10-16 21:14:00
Hi there,
I've used dreamhost for my php-based projects and I love it!
But recently I started to play with Ruby on Rails, and I find out that memory consumption is much higher than I expected.
Using DH PS I run simple rails app with 1 hit per day with mongrel - top says that mongrel process takes 142 Mb of ram. If I use passenger, things get much worse.
11756 1 129.4 MB ? Passenger ApplicationSpawner: /path/to/rails_app
11776 1 130.4 MB ? Rails: /path/to/rails_app
11930 1 152.2 MB ? Rails: /path/to/rails_app
So, in total with passenger it takes 400 Mb to run very low traffic rails application.
This numbers are confirmed with DH panel.
i.e. with mongrel - 15$ per month. with passenger - 40$ per month.
I understand, that because of 64bit os, it takes twice as much memory, but still, isn't it too much? Do I miss something?
Is such memory consumption normal for rails?