4 ms·
Looks handy, does it play nicely in a normal rails deploy? I can see it being really handy as a long polling endpoint in an otherwise synchronous webapp. Befor
by cschneid 17y ago
Looks handy, does it play nicely in a normal rails deploy? I can see it being really handy as a long polling endpoint in an otherwise synchronous webapp.
Before trying it though, I don't know how eventmachine can play nice inside a passenger launched rails app. Guess I've gotta go try and see.
- pratiknaik 17y agoYou can't really deploy a cramp app with Passenger. You'll have to use nginx/apache + thin cluster. http://code.macournoyer.com/thin/usage/ http://code.macournoyer.com/thin/usage/ should have more details. I haven't really tried it with Apache, but nginx has worked great for me.
- cschneid 17y agoThat's what I figured. I was hoping (wishing?) that it would be a nice drop-in, in-process async endpoint for when I needed it. But it looks like the sysadmin side is a bit more complex than that.