News for hackers. Stuff that matters.
Re:Rails 4.1.0 released by noodle on Tuesday April 08, 2014 @04:57PM (#7555959)
> ActionController::Live still feels pretty half baked.

It is very half-baked. I put it into a production system and had tons of headaches.

Re:Rails 4.1.0 released by bronson on Tuesday April 08, 2014 @07:49PM (#7556809)
Me too. Luckily I was monitoring some lengthly database operations, nothing customer-facing.

Sometimes the streaming reply worked, sometimes it hung, sometimes it crashed. After a few days of pain I rewrote it in Node (which is a shame since the rest of the code is in Ruby). Worked 100% first try, no handholding.

I don't care whose fault it is. ActionController::Live should be turned off until it's more stable.

Re:Rails 4.1.0 released by rubiquity on Tuesday April 08, 2014 @05:08PM (#7556024)
I imagine the Rails team wants to make this more robust but I think there's some bad design decisions in Rack that are preventing ActionController::Live from being as robust as it could.
Re:Rails 4.1.0 released by sync on Tuesday April 08, 2014 @06:07PM (#7556317)
Yep, cf. "I firmly believe Rack is shackling progress for Ruby on the web." - @tenderlove

https://twitter.com/tenderlove/status/443893529010393089

Re:Rails 4.1.0 released by xs_kid on Tuesday April 08, 2014 @08:10PM (#7556885)
it's pretty hard to do something better with the current status of Rack