Hi, everyone!

I'm examining ruote (gem 2.1.8) to use in my project and have some
questions
to developers:

1. John Mettraux wrote in his post 
http://jmettraux.wordpress.com/2009/12/31/ruote-2-1-released/
"...a persisted workqueue can be shared by multiple workers, workers
not in the same Ruby process...".

That's great, but i can't realize how it's implemented.
For example, i have two separate ruby OS processes with one worker in
each and shared (let it be cloche) storage being served by them.
At some moment of time client launches new process.
Corresponding message is being pushed into storage.
Then both workers (they're idle at that moment) fetch it in their
"step" method and begin to process it. Do we have two instances of
same business process running, or i miss something? Where should i
look to find some "message locking" mechanism?

2. Transactions.
I need some kind of "all or nothing" mechanism in my processes. For
examlpe:

<transaction>
    <participant ref="deliver_report"/> <!-- make report visible to
customer -->
    <participant ref="withdraw"/> <!-- take some money from him -->
</transaction>

Is there any obvious implementation of this feature in ruote? Or maybe
simple simulation with other techniques?

Thanks in advance! and sorry for my English in advance :)

-- 
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

To unsubscribe from this group, send email to 
openwferu-users+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to