Login

Username

Password





Register   Reset password

Get Cuyahoga at SourceForge.net. Fast, secure and Free Open Source software downloads

Forum

Welcome Guest Search | Active Topics | Members

workflow architecture Options
gedw99
Posted: Monday, June 9, 2008 3:02:24 PM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2006
Posts: 243
Points: 450
Location: the moon :)
i am building workflow into Cuyahoga because i really need it..

a few libraries are around:
netBPM (http://www.netbpm.org/)
Castle.Scheduling (http://using.castleproject.org/display/Contrib/Castle.Components.Scheduling-Tutorial)
Castle.Workflow. (http://using.castleproject.org/display/Contrib/Castle.Facilities.WorkflowIntegration)


I am investigating the netBpm one for now because it is designed to work on Mono, and its has everything in a very abstract but well written structure.
Its also really great to open a large code base see that its based on Castle, Rails and NHibernate and imediatly understand its structure. Its makes it just so easy.
The current code base is running off old NHibernate and Castle lib versions and so am going through upgrading it.

Has anyone else done any work in this area of bringing workflow to Cuyahoga ?? I knwo the trunk has some scaffolding for it, but no code yet.

i have to say it is pretty hard to choose which one to use.
WWF is easy, but no mono support, although the Mono Project does have code but its not in the supported base. Its in Olive.


if your doing it hard your probably doing it the wrong way....
jbland
Posted: Tuesday, June 10, 2008 6:54:18 AM
Rank: Advanced Member
Groups: Member

Joined: 12/28/2007
Posts: 39
Points: 117
if i had time, i'd backport http://codeplex.com/SimpleStateMachine to .NET 2.0 and start from there...
D3grade
Posted: Tuesday, July 1, 2008 1:34:15 PM
Rank: Advanced Member
Groups: Member

Joined: 2/17/2007
Posts: 168
Points: 387
Hey Ged,

Did you decide on a route? Not that i'm working on it myself, but i'm interested in it's progress.

Matt
gedw99
Posted: Sunday, July 6, 2008 4:59:52 AM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2006
Posts: 243
Points: 450
Location: the moon :)
jBland - Yes i saw it too.
d3 - But in the end we actually went with a custom solution for now.

The intent is to use the Castle Scheduling facility when it s working with Quartz.net


But for now a primitive solution was good.

The other thing you have to be careful fo is IIS recycling. It kills the event scheduling i believe.
So you have to ping the web site to keep IIS from Recycling.
A simple provisioning server can do this for an web sites as long as you can control the load balancer to make sure you hit the actual web servers you need.

d3. i also saw your post about MVC from MS. I agree its very promising, and i have so had enough of screwing around with asp.net model.
i also am interested in using JQuery with ASp.NET. The main motivation here is to remove the dependency on all the MS bloat client side.
Then i would layer in Comet style and you would have a decent architecture you could really do stuff with.

Its a pity this has not all been integrated. MS you suck in this regards !! Wake UP..

G




if your doing it hard your probably doing it the wrong way....
D3grade
Posted: Sunday, July 6, 2008 11:43:29 AM
Rank: Advanced Member
Groups: Member

Joined: 2/17/2007
Posts: 168
Points: 387
Hey Ged,

I like your ideas, they seem very much inline with my way of thinking.

Can I ask what you did for your primitive solution?

Many thanks

Matt
gedw99
Posted: Wednesday, July 30, 2008 4:33:41 PM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2006
Posts: 243
Points: 450
Location: the moon :)
d3,

all i did was build a job execution engine, and i code each job.

the main thing is concurrency on jobs in a web farm. the jobs are kept in the db as a queue.
then a compute node grabs a job and proceses it. All rety and failure logic is written for each job.

scheduling is not needed for me yet

if your doing it hard your probably doing it the wrong way....
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Yet Another Forum.net version 1.9.0 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.