10 September 2010

The Ruby Reflector

Topic

Ruote

  Source Favicon
By John Mettraux of processi 8 months ago.
Email

Ruote 2.1 has a persisted workqueue. For the items placed in the queue, I use the term "message", it covers "tasks" (sent for execution by expressions) and "events" (intra-engine notifications).

An interesting consequence : a persisted workqueue can be shared by multiple workers, workers not in the same Ruby process.

A message ordering the launch of a ruote process looks like : {"type": "msgs", "_id": "1984-2151883888-1261900864.59903", …

jmettraux.wordpress.com Read
  Source Favicon
By John Mettraux of processi 11 days ago.
Email

…enterprise with ruby" is available as well as the presentation slides .

When the talk was over, it was good fun to go over to the two speakers and introduce myself. They explained to me what they liked about ruote and how they sold it to their team. Ruote seems to fit nicely in their services and DSLs. I hope to meet them again to learn more.

It was then time to attend the following talks of the kaigi. It was a great event, too much to cover.

jmettraux.wordpress.com Read
  Source Favicon
By Kenneth Kalmer of Open Sourcery 9 months ago.
Email

…that data has to be correlated, and I wanted to rethink how to do it. After plenty of discussions in # ruote with John Mettraux we came up with a model based on how the web works. Since CouchDB is "off the web", the approach feels quite fitting to me and hopefully to you too.

First some insight into my thinking at this stage.

The web has been successful in loosely expressing relationships between documents. Take two examples:

and

For those of you reading this through a …

opensourcery.co.za Read
  Source Favicon
By John Mettraux of processi 7 months ago.
Email

ruote 2.1.7 is out and it felt like it was time to update the CsvParticipant that could be found in ruote 0.9.

Ruote has been relying on rufus-decision for its decision table needs and ruote 0.9 was integrating a CsvParticipant directly. For ruote 2.1, the DecisionParticipant is left in the rufus-decision gem.

It's not the first time I write something about decision tables. But I noticed that I hadn't really written anything about how to mix ruote processes and decision tables.

jmettraux.wordpress.com Read
  Source Favicon
By Kenneth Kalmer of Open Sourcery 1 year ago.
Email

daemon, AMQP & XMPP bots as well as the newest addition, Ruote remote participants.

All this is fine and well, and people seem to like the project. The mailing list is getting some noise, we're over 200 watchers strong on Github and the IRC channel has some folks popping in to say hi.

However, daemon-kit quickly made me lazy and realize there is a couple of things it can do much better. If you've used a generator before, you'll notice the generated code …

opensourcery.co.za Read
  Source Favicon
By John Mettraux of processi 7 months ago.
Email

Sinatra web application wrapping a ruote workflow engine. Ruote can run many process instances issued from different process definitions, but barley's processes are all instantiated from a single process definition.

The cursor expression does most of the work. It runs in sequence a ‘trace' participant and a ‘next' participant. Then if the field ‘next' is set in the workitem (most likely it has been chosen by the ‘current' participant), …

jmettraux.wordpress.com Read
  Source Favicon
By John Mettraux of processi 8 months ago.
Email

Ruote 2.1 has a persisted workqueue. For the items placed in the queue, I use the term "message", it covers "tasks" (sent for execution by expressions) and "events" (intra-engine notifications).

An interesting consequence : a persisted workqueue can be shared by multiple workers, workers not in the same Ruby process.

A message ordering the launch of a ruote process looks like : {"type": "msgs", "_id": "1984-2151883888-1261900864.59903", …

jmettraux.wordpress.com Read
  Source Favicon
By John Mettraux of processi 11 months ago.
Email

…in Madrid, people have tremendously contributed to ruote 0.9 (many thanks guys !). Ruote 2.0 is a small jump from 0.9, literally a jump, not a step, explanations are required.

Then beer ensued . A ruedas y cervezas (rc2) is planned for next month, I wish I could attend. So if you're in Madrid and you're interested in ruote or, less narrowly, in Ruby / JRuby / Scala / Java, contact Nando Sola and join the abstra.cc and UPM guys for the rc2.

jmettraux.wordpress.com Read