Acemoney is a hosted application built by us i.e. Josh Software. Currently, its hosted on a linode with nginx+thin configured. The problem here is that there are 3 thin servers which consume humongous 'stagnant' memory. We have decided to migrate to nginx+passenger so that we an control in greater detail the number of instances, the … Continue reading Migrating Acemoney onto a different server with nginx+passenger
Tag: passenger
Musings on cache-money – Part I
So, I always wanted to find a way of memcaching via ActiveRecord, without having to re-invent the wheel 😉 My investigations initially took me via CachedModel, cache_fu and finally I settled on cache-money. Seems to be *almost exactly* what I wanted - any lookup goes via memcache, any update /edit goes via ActiveRecord + memcache … Continue reading Musings on cache-money – Part I
4 steps to install nginx with passenger
Install passenger program that will run your rails application1. sudo gem install passengerInstall nginx server with passenger enabled2. passenger-install-nginx-moduleit will open apt, click "Enter" to continethen select option 1 for default installthen it will askWhere do you want to install Nginx to?Please specify a prefix directory [/opt/nginx]:press enterthen copy following block server {listen 80;server_name http://www.yourhost.com;root … Continue reading 4 steps to install nginx with passenger