| 2013-03-18 09:25:23 utc | ludovic_ | Hello John, folks |
| 2013-03-18 09:26:14 utc | ludovic_ | I'd like to migrate an ugly piece of code to ruote and I have a couple of questions |
| 2013-03-18 09:29:35 utc | ludovic_ | the architecture of my application is based on redis/resque/sidekiq so I'd like to use ruote-redis |
| 2013-03-18 09:30:24 utc | ludovic_ | but my app is also hosted on heroku, and I still have some difficulties to understand how ruote will behave in that environment |
| 2013-03-18 09:31:31 utc | jmettraux | ludovic_: hello, welcome to #ruote |
| 2013-03-18 09:31:49 utc | ludovic_ | the few lines of code I rode and the few experiments I made let me think that processes will be blocked and sleeping |
| 2013-03-18 09:32:02 utc | jmettraux | ok |
| 2013-03-18 09:32:02 utc | ludovic_ | hi John, thanks for answering :) |
| 2013-03-18 09:32:40 utc | jmettraux | haven't thought/looked at Heroku in a while |
| 2013-03-18 09:32:52 utc | jmettraux | a bit at a loss to answer / suggest anything |
| 2013-03-18 09:33:34 utc | ludovic_ | Am I correct about the fact that thread are sleeping when waiting for a reply? |
| 2013-03-18 09:33:59 utc | ludovic_ | (from a participant) |
| 2013-03-18 09:34:04 utc | ludovic_ | at least on redis |
| 2013-03-18 09:34:21 utc | jmettraux | the worker thread should be asleep most of the time, waking up from time to time to poll redis (lpop) |
| 2013-03-18 09:35:42 utc | ludovic_ | oh ok so the worker thread is not dedicated to one pdef instance? |
| 2013-03-18 09:36:27 utc | jmettraux | no, not at all, it'd be a pain in the ass to have a thread per process instance |
| 2013-03-18 09:36:29 utc | ludovic_ | he will be watching any update of any pref instance |
| 2013-03-18 09:36:32 utc | ludovic_ | ohhhhhh ok |
| 2013-03-18 09:36:33 utc | ludovic_ | :) |
| 2013-03-18 09:36:38 utc | ludovic_ | great |
| 2013-03-18 09:36:40 utc | ludovic_ | :) |
| 2013-03-18 09:36:47 utc | ludovic_ | my bad |
| 2013-03-18 09:36:52 utc | jmettraux | no worries |
| 2013-03-18 09:37:03 utc | jmettraux | you should try locally ruote + redis |
| 2013-03-18 09:37:13 utc | jmettraux | when you get a clearer picture, try to move to Heroku |
| 2013-03-18 09:38:33 utc | ludovic_ | that was THE missing piece, I'm going to make some tests today, I'll keep you posted. |
| 2013-03-18 09:39:21 utc | jmettraux | there's also a mailing list: http://groups.google.com/group/openwferu-users for async interactions |
| 2013-03-18 09:39:22 utc | ludovic_ | si route fluo able to draw a pdef instance and its progress or this is only for pref? |
| 2013-03-18 09:39:25 utc | ludovic_ | pdef? |
| 2013-03-18 09:39:39 utc | jmettraux | irc support is killing my open source time |
| 2013-03-18 09:39:48 utc | ludovic_ | great I'll do that |
| 2013-03-18 09:39:54 utc | ludovic_ | sorry :s |
| 2013-03-18 09:40:39 utc | jmettraux | no worries, I'm OK with irc support, but not always here, and writing emails help structure your questions |
| 2013-03-18 09:41:18 utc | jmettraux | yes, ruote-fluo is able to draw a process |
| 2013-03-18 09:41:24 utc | jmettraux | it's made for that |
| 2013-03-18 09:42:16 utc | ludovic_ | no doubt about the process, question was about the state of a work item |
| 2013-03-18 09:43:15 utc | jmettraux | yes |
| 2013-03-18 09:43:31 utc | jmettraux | it will not show you the state of a workitem, but its position |
| 2013-03-18 09:43:38 utc | ludovic_ | whoah |
| 2013-03-18 09:43:54 utc | ludovic_ | ok you're my hero :). thank you John |
| 2013-03-18 09:44:33 utc | jmettraux | wait, I won't be your hero anymore when you'll look for the doc on how to show the workitems position |
| 2013-03-18 09:44:44 utc | ludovic_ | lol |
| 2013-03-18 09:45:59 utc | ludovic_ | don't disillusion me |
| 2013-03-18 09:46:42 utc | jmettraux | https://github.com/kennethkalmer/ruote-kit/blob/master/lib/ruote-kit/views/process.html.haml#L146 |
| 2013-03-18 09:48:08 utc | jmettraux | https://github.com/kennethkalmer/ruote-kit/blob/master/lib/ruote-kit/resources/processes.rb#L29-L38 |
| 2013-03-18 09:48:45 utc | jmettraux | that's how the workitem (and error) positions find their way to ruote-fluo (via the "pins" option) |
| 2013-03-18 09:50:15 utc | jmettraux | ruote-fluo was recently rewritten, it moved from Canvas to SVG, it might be incomplete, if you find any issue, please report |
| 2013-03-18 09:51:03 utc | ludovic_ | to obscure right now, I'll dig. |
| 2013-03-18 09:51:05 utc | ludovic_ | for sure |
| 2013-03-18 09:51:23 utc | ludovic_ | thank you John |
| 2013-03-18 09:51:39 utc | jmettraux | you're welcome |
| 2013-03-18 09:53:03 utc | jmettraux | is that you http://lgalabru.github.com/ ? Cool glasses ;-) |
| 2013-03-18 09:53:17 utc | ludovic_ | hé hé :) thanks |
| 2013-03-18 09:57:54 utc | jmettraux | souper, je serai de retour plus tard, a bientot ! |