Hi Nicolas, On 7/18/06, Nicolas Modrzyk <[EMAIL PROTECTED]> wrote: > > Yes, Magnolia uses only one openwfe engine at the moment. (Sometimes, > we should maybe propose to use some external ones, I guess ..) > The process we have at the moment is: > - on activation request, look in the Content Repository to find which > flow is associated to the activation > - feed a startFlow command with the xml definition, stored in the > repository itself
We could cache at that level and then pipe directly some JDOM to OpenWFE. Maybe I have to adapt the embedded engine to that, so that we don't pipe a String but directly XML (jdom style). WDYT ? > - define some custom parameters, such as, the page to be activated. > - tell the engine to start the flow > > If I turn on openwfe debug in the last step, I get the impression > some kind of compilation is happening to turn the JDOM document to > something useful for OpenWFE. OpenWFE instantiates expressions as it reads XML. The idea is not to read/instantiate what is not needed (the 'else' branch of an 'if' that evaluated to 'true' for example). > I wonder if some kind of mapping, or caching could be used at this > level. > > In a magnolia context, the cache could be cleared only if some new > flow definition has been uploaded. Otherwise, all flows are static. > > In irbridge, (90% magnolia-based ...) on our regression testing we > get some decent performance on multiple activation requests, and the > server CPU usage is still very slow, but I feel like the response to > the user could be improved. So you're looking for a quicker reply ? Does the user have to wait for something ? We could try working on the 'perceived' response time. Best regards, -- John Mettraux -///- http://jmettraux.openwfe.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ OpenWFE - Open source WorkFlow Engine OpenWFE-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openwfe-users
