Hi John,

It was really nice to talk to you at this Ruby event :-) Thanks for
your quick reply!

> I have the impression it's only a simple misunderstanding, how about this 
> version of the quickstart :
>  http://gist.github.com/595132

Thank you. This new version is very helpful and appreciated. I thought
about a pid-like file for resumption, but I was expecting a storage-
based approach (see later).

> Usually ruote is used inside of a web application or as a standalone worker 
> and it's supposed to never exit. Processes are running and so on.

This is exactly why Ruote is a good candidate for my target :-) But we
are talking here about resumption on crash. I guess it is a desired
property in many scenarios to get the engine resume "seamlessly" from
some milestones in the process definition, similarly to the statement
in the documentation on implementing storage (http://
ruote.rubyforge.org/implementing_a_storage.html).

> Processes are not automatically launched as the webapp or the worker starts, 
> they are launched (a bit) later on, triggered by an external event.

I will have another question about that, but keep it in a dedicated
thread.

> I'd suggest looking at ruote-kit
>  http://github.com/tosch/ruote-kit
> for a web application (rack) that wraps ruote with a decent web interface. 
> Maybe it's easier to get a feel for "ruote, the service" in that context.

Thank you for confirming. It does help in understanding the Ruote
component.

> So, it's not a bug, the two launch requests were honoured.

It is clear that calling #launch initializes a new process and thus
produces the expected behavior (meaning no bug), but I was actually
wondering whether #launch should not be "resume-aware" through the
storage. Not sure what is worth right now. Your extended quickstart is
sound and clear to me, but I feel that it could be more compact: The
storage could be used as a memory across runs, instead of adding a
wfid file. I mean, it looks less elegant than just relying on the
storage, notably when using FsStorage.

That's maybe just me, and it would be a significant rewrite. Still
learning! Going forward. Thanks again for your prompt support!

Eric

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to