views:

123

answers:

1

I need to build a web application with different process flows and different UI steps depending on the locale of the logged in user.

I have developed a number of ASP.NET applications in C# and like the separation of concerns an MVC approach would give me. So I am looking at using these technologies.

The kicker is that different users in different locales need to have very different experiences, despite accessing the same datasource. I'm also constrained by the requirement to have new process flows be able to be configured easily. The XAML based Windows Workflow Foundation looks like a good candidate, and would allow me to avoid developing my own process flow engine.

However, I am a little concerned about the performance implications of such an approach. Has anyone tried this sort of architecture? What sort of impact can I expect on request time, CPU utilization and memory consumption?

All opinions gratefully received, Thanks.

A: 

Howdo

The principle objection, and I suppose, performance risk, which although not specically related to your ask, is that windows workflow hasn't been designed for that type of scenario. Simply put, WF first design tenet, was to enable long running transactions, built around web service and SOA, i.e. transactional connectivity lasting days, and as such its runtime is optimised for it. It doesn't really make a good fit, especially when you will need to shoe horn it into working, and it will be much more resource hungry for short running workflows, i.e. in relation to state changes, caching, etc, in terms of comparable other process flow code/engines. If you do go ahead, get a pilot up and running and test to death using Mercury Load Runner.

scope_creep

scope_creep
Are you ware of other process flow engines which are nicely compatible with .net?
Mike
Well there is this rules engine, specifiy the rules in xml. Have you used rule engines. For differerent locales load different rules.https://sourceforge.net/projects/sdsre/
scope_creep
This could even be a better fit as it has a specific component, which is a flow engine. http://www.agilepartner.net/oss/nxbre/Bob.
scope_creep
I may build my own rules engine using MSUnity to support the XML configuration instead
Mike
Have you got a link to it.
scope_creep