On Fri, Apr 9, 2010 at 5:54 AM, Fix Peña <[email protected]> wrote: > > I've been wondering if anyone has ever tested Ruote with a large > quantity of workitems open in a rails environment. When the engine is > initialized, correct me if I'm wrong, it loads all of the active > workitems on memory. How would this scale?
Hello Freddy, ruote 0.9.x was loading all the expressions when initialized (startup), to check for unresolved schedules. Since ruote 2.1.x, the schedules are stored differently so this "load all of them to check" has vanished. Anyway, for ruote 0.9.x it was only at startup time and the rules of Ruby and its Garbage Collector are/were applied as usual. Expressions, not workitems. > The thing is, we're working on an application where processes are > never to be considered "finished", so there could potentially be > unlimited number of active workitems. For ruote 0.9.x, the engine loads the expressions, checks them and then forget about them (it will reload them if necessary and not all of them, just the ones that need some "execution"). > We've been working around Ruote > 0.9.20 for a while, implementing a very specialized forms system that > "travels" within a workitem lifespan. These forms could be revised in > the future, so the process never actually ends. Very nice use case. > (On a side note, I've been looking with interest all the work that's > been done in Ruote 2.0 and 2.1, and would like to congratulate > everyone on the achievements!) Ruote 2.1 is definitely the way to go. It's simpler than ruote 0.9, removes many issues (and hopefully doesn't [too many] introduce new ones). There is an overview of the storage configuration for ruote 2.1 at http://ruote.rubyforge.org/configuration.html#storage (documentation in progress). Thanks for the message, questions are welcome, -- John Mettraux - http://jmettraux.wordpress.com -- 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
