ruote tmp/log_2012-05-08.html

2012-05-09 00:14:22 utc Mugatu I find myself often launching processes from a Rails app inside controller methods, and am immediately interested in rendering workflow details in the resulting view. The problem is that it appears to take some small amount of time for the process to be launched, as the call to Dashboard#process(wfid) will return nil if called immediately, but return the expected process status if you wait a moment
2012-05-09 00:14:33 utc Mugatu Is there any way to 'join' on the launched process?
2012-05-09 00:15:29 utc Mugatu My expectation is to be dealing with an external worker, if that makes a difference
2012-05-09 00:18:34 utc jmettraux Mugatu: hello
2012-05-09 00:18:49 utc Mugatu jmettraux: hi there, it's me again with the tough questions :)
2012-05-09 00:18:51 utc jmettraux if the worker were in your app, you could "wait_for"
2012-05-09 00:19:24 utc jmettraux else I've seen people polling the app with asynchronous requests
2012-05-09 00:19:30 utc jmettraux or using a websocket
2012-05-09 00:19:53 utc Mugatu hmm, yes, that might be the way to go
2012-05-09 00:20:17 utc Mugatu architecturally, I always assumed I would run an out of process worker to service the multiple rails workers
2012-05-09 00:20:38 utc Mugatu Is there any downside to just running multiple embedded workers? (using redis store)
2012-05-09 00:21:05 utc jmettraux it sounds architecturally sound
2012-05-09 00:21:37 utc Mugatu OK, I'll give it a spin
2012-05-09 00:21:38 utc Mugatu thanks!
2012-05-09 00:22:02 utc Mugatu ruote is gaining some traction around here, starting our 2nd project in earnest, so very well
2012-05-09 00:22:03 utc jmettraux I mean having external workers is good
2012-05-09 00:22:49 utc jmettraux for your question I think your application should be tolerant of things happening asynchronously
2012-05-09 00:23:14 utc Mugatu ok
2012-05-09 00:37:29 utc jmettraux traction: cool :-)
2012-05-09 04:08:18 utc Mugatu jmettraux: thanks for pushing the ruote-fluo fix into ruote-kit -- it's working great now in latest Chrome in this app using ruote-kit:master
2012-05-09 04:12:28 utc jmettraux Mugatu: you're welcome, I'll work again on the trailing timer this afternoon