News for hackers. Stuff that matters.
Re:Money Trees – Rap Genius Response to Heroku by socialist_coder on Monday February 18, 2013 @10:02AM (#5238553)
Heroku's suggestion: "modernize and optimize your web stack."

I don't have any experience with Ruby web stacks so I'm curious if this is actually an option for you guys? What would it take to do that? Would the performance increase on Heroku be worth it?

It also seems like if you wanted to self host you would probably need to do those same improvements, right?

Please don't take my comment the wrong way, I'm not trying to say Heroku is somehow excused from their mistakes here. I'm just trying to understand that suggestion from Heroku.

Re:Money Trees – Rap Genius Response to Heroku by WillieBKevin on Monday February 18, 2013 @10:59AM (#5238853)
Here's a discussion about that point in the original article's comments: http://news.ycombinator.com/item?id=5216553

The conclusion is that it will buy you a bit more time, but does not fix the underlying issue.

In Rap Genius' case, they're large enough that they would still have significant issues even if they switched to cedar and unicorn with 2-4 worker processes.

Re:Money Trees – Rap Genius Response to Heroku by jrochkind1 on Monday February 18, 2013 @10:11PM (#5242370)
> they would still have significant issues even if they switched to cedar and unicorn with 2-4 worker processes.

Yeah, but how about config.threadsafe! with puma or thin in multi-thread mode?

It is odd to me that very little of this conversation on the nets recognizes that Rails _does_ support multi-threaded concurrent request handler, with the right app server stack (figuring out the right app server stack can be non-trivial, although it's getting better).

Re:Money Trees – Rap Genius Response to Heroku by scottshea on Monday February 18, 2013 @12:04PM (#5239217)
Agreed. I am working with a client who is slightly lower on the Heroku customer food chain and using Unicorn with four workers right now. Our next step is Puma though that will likely not be the end point.
Re:Money Trees – Rap Genius Response to Heroku by steveklabnik on Monday February 18, 2013 @12:35PM (#5239413)
Certainly investigate Puma on Rubinius or JRuby, and make sure you have config.threadsafe! turned on.