•January 7, 2009 •
Leave a Comment
This is a response to the blog post,
http://mdavey.wordpress.com/2008/12/29/further-azure-thoughts/
So the question was,
“Or go for a “wild card” WF implementation?”
I believe this has a reasonably chance of being the future of a lot of development. We just need to answer the when but with WF 4.0 being a complete rewrite and items like Dublin, Velocity and Parallels library in the works then yes its a stretch but their unification could actually work and bears investigating.
Just imagine a team building an app. DDD style and exposing public domain services that then get stitched together by a domain expert via a Workflow GUI like K2’s so getting them involved in the application building process, this has to be very compelling for any DDD guy.
In terms of workflow editors I’d recommend folks look at the one in MS CRM 4.0 which is very interesting and goes another step in the right direction for MS. Just look at the image that MS has for the Azure platform and guess what CRM services (don’t get hung up on the name CRM, MS will end up renaming it to something like xRM and it will compete with the likes of Salesforces force.com offering) sits in as one of the 5 services.
So workflow is going to be huge but it will take lots of time to get into the high end (if ever) of financial trading systems but one place to start I reckon is low volume high value transactions…
Posted in Cloud, Workflow
•March 3, 2008 •
Leave a Comment
Using my trusty Google Reader I came across a couple of interesting projects which I hoped could be combined to solve very real world problems.
The Projects
Legion is a Grid Computing framework that uses the Silverlight CLR to execute user definable tasks.
Parallel Extensions
Is a library that allows developers to take advantage of multi-core machines while abstracting away the hard problems of multi-threading programming. It includes,
-Parallel Language Integrated Query (PLINQ)
This is declarative in nature and provides a SQL like syntax for your parallel work.
-Task Parallel Library (TPL)
This is imperative in nature and just makes it easier to write managed code that can take advantage of multiple processors.
The Problem
There are certain types of problems in the real world that are CPU intensive a classic one is determining risk. The Monte Carlo method is one way of tackling this problem through repeated random sampling to work out the risk.
It is used in industries such as finance to price complex financial derivatives and within portfolios to work out the Value at Risk (VAR) . In manufacturing it can be used to determine how many product units should be produced. Take a look at this Microsoft Excel Monte Carlo simulation example for an introductory primer as to whats it all about.
Monte Carlo methods are computationally intensive but naturally parallel and so using grid computing to solve the problem is a good fit.
A Potential Solution
There seems to be a good fit between the Legion project and Parallel Extensions to solve these class of problems but unfortunately the releases of Silverlight 2.0 & Parallel Extensions are just to far apart for now (see here). I hope these will be supported together in the future so opening up a whole new area for the average developer. For now I’d recommend keeping an eye on the Silverlight 2.0 release at MIX 08 this week so to see what threading support will be provided.
Posted in Parallel FX, Silverlight