On Sun, Jun 8, 2008 at 7:33 PM, andreas <[EMAIL PROTECTED]> wrote: > > If I remember correctly you use OpenWFEru in real projects.
Hello Andreas, Yes, on top of JRuby. 0.9.18 on top of JRuby 1.1.1pre in production. Next month switching to 0.9.19 on top of JRuby 1.1.2 (this setting is currently under QA and it looks fine). > I'm also planning the usage of OpenWFEru in a real project. The go > live will be april 2009. > A typical process instance has a average life time of about one week. > In one month potentially 6000 process instances will be created by the > application. I don't have as much process instances. > I have a question about some implementation details which have an > impact of resource consumption, performance and stability. > The question is the usage of Threads (in relation to a JRuby based > runtime) ? > If my application runs 6000 process instances in the same time are > there 6000 Threads running for process instance handling ? > What can you say about the mapping between OpenWFEru process instances > and the usage of threads ? A ruote engine relies on a workqueue. There is one thread consuming work units placed on the queue. A work unit is a call to the apply or the reply of a method. For a idle engine you thus have 1 work thread and the current thread. A call to apply / reply performs generally quick and tiny operations that result in placing another work unit on the workqueue. There is the exception of the participant expression, a call to a participant [implementation] may depend on disk / network / whatever, thus a thread is created each time there is a participant getting applied, so that the work thread is freed asap. I'd recommend doing some load testing, fortunately with [J]Ruby that's very easy. There are certainly things to learn. 300 process instances launched per day... Should be OK. If you have any question, feel free to ask. Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
