News for hackers. Stuff that matters.
Re:Adding Concurrency to Rails Apps with Unicorn by zwily on Wednesday February 27, 2013 @02:02AM (#5291075)
Brightbox has Ruby 1.9 packages with the GC copy-on-write-friendly patches included. We run it in production with good results.
Re:Adding Concurrency to Rails Apps with Unicorn by markov_twain on Wednesday February 27, 2013 @02:23AM (#5291125)
AFAIK, to use the brightbox packages on heroku you'd have to write a buildpack that either downloads all the dependencies and runs through the same build process that brightbox uses, or use something like heroku-buildpack-fakesu to create a fakeroot type of environment where you can install debs.

Another issue with using the brightbox packages is that if you happen to run into a bug, you'll have to figure out if the bug was caused by something non-standard in your ruby installation or if it's actually a bug in ruby.

One last thing to note is that it looks like the latest brightbox release targets patchlevel 327, while ruby core is at 392 (not counting 2.0.0-p0), so you're missing a lot bug fixes until the brightbox team gets around to building against the latest release.

Re:Adding Concurrency to Rails Apps with Unicorn by zwily on Wednesday February 27, 2013 @09:42AM (#5292551)
We don't deploy on Heroku, so I didn't know about that process.

Your other two points are true though. We consider the trade-off worth it for the memory gains.