Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
arunthampi
canhazthread.com is now running REE + Nginx + passenger. Notice a speed b... Discuss here: : http://i.canhazthread.com/t...
Nice! Bet it was really easy to setup. And sorry for not joining the thread, getting the fail whale on OAuth. - Chu Yeow
ah okie, actually it took a while cos it took a while for me to install REE. sudo would not accept REE's path in its env, in the end just ditched using sudo altogether - arunthampi
still somehow feels unnatural after using mongrel + nginx for so long hehe - arunthampi
Oh I ended up putting the path to REE binaries in /etc/environment. I missed out that you installed REE btw, yeah that part took a while for me too. I did install REE for a wego box, but didn't for sliceoflifeapps.com. - Chu Yeow
Otherwise, compared to the 1st time I setup Nginx + mongrel, it was really much faster, especially when you include setting up deployment. - Chu Yeow
Yeah, thats what i did too: added to /etc/environment - problem was capistrano was running mongrel_cluster as sudo and when I did `sudo env` REE was not in the path, but as normal user it was...in the end just set use_sudo to false. Does it work for u with sudo? - arunthampi
Damn you twitter! This would have been a good canhazthread thread :P - arunthampi
how does this setup fare again apache+passenger+ree? do you still get the mem saving with nginx+ree? - Jarrold Ong
mongrel_cluster? Are you still using that? Anyway I'm using "set :use_sudo, false" as well, but it's not for that reason I think. - Chu Yeow
Hmm I haven't done an apache+passenger+ree deploy yet, so can't compare but maybe chuyeow can confirm that nginx is less resource intensive than apache? - arunthampi
@Jarrold Yup it's REE with passenger that gives you the memory savings. I'm too lazy to benchmark (or rather, there's no need for me to until I hit load issues) so I can't comment on Nginx+Passenger vs Apache+Passenger performance. I like to fool myself into thinking I've got a lean setup with a self-compiled Nginx and disabling any modules I don't need (http://wiki.nginx.org/NginxIn...). - Chu Yeow
@chuyeow ah sorry - I was initially trying to run REE with mongrel and that didn't work, so spent some time trying to figure that out, eventually changed use_sudo to false it worked with mongrel (and then with passenger too) - arunthampi
@chuyeow crap i picked apache cause they didn't include nginx in the benchmark on their website. I'm a big fan of nginx. I guess I'lll give it a try the next time i set up a new box. - Jarrold Ong
@iamclovin neat app btw - Jarrold Ong
@jarrold - thanks man, its a clone of a.tinythread.com but hoping it will evolve into something better - arunthampi