News for hackers. Stuff that matters.
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by defen on Tuesday September 29, 2009 @06:16PM (#851442)
What does your deployment look like? Nginx/Apache in front of Thin/Mongrel?
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by EvilTrout on Wednesday September 30, 2009 @02:56PM (#853347)
We've tried various deployments over the years with various levels of success.

Our 1.9 deployment is Nginx -> HaProxy -> Thin

I had trouble getting Mongrel to work in 1.9 (it was my favorite in 1.8) although apparently you can do it. Thin just worked(tm) so I switched to it painlessly.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by catch23 on Tuesday September 29, 2009 @09:16PM (#851694)
I'm guessing passenger... they've had support for 1.9 for some time now.
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by EvilTrout on Wednesday September 30, 2009 @02:57PM (#853353)
I ran Passenger for a while in the past but I really didn't like how it would pause every rails process briefly when spinning up a new instance. Maybe that's been fixed now.

Monit may be harder to set up, but it works very well once it's running.

Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by catch23 on Thursday October 01, 2009 @05:04PM (#855823)
you mean mongrel? Monit is a monitoring platform...
Re:Ruby Enterprise Edition Version 1.8.7-20090928 Released by EvilTrout on Thursday October 08, 2009 @05:14PM (#870000)
Actually I meant Monit, sorry.

Ruby has a memory issue with long running processes. They seem to grow and grow and need to be restarted when they get out of hand. People commonly use Monit or God for this.

When you use Passenger, you can have it restart your processes after a certain amount of requests to prevent the memory leak issue, but when it happens it seems to block all requests to all processes for a short time, which is annoying to end users. It means your site can be speedy and zip along, then just pause.