The Architect´s Napkin

Software Architecture on the Back of a Napkin
posts - 69 , comments - 227 , trackbacks - 0

My Links

News

Archives

Post Categories

May 2012 Entries

Catch Exceptions in Concurrent Flows Using Causalities
The previous article showed you how to easily parallelize flow operation execution with NPantaRhei (download the sources from github). Once operations run concurrently, though, you´ve to pay your dues. Benefits or concurrent execution like higher performance, lower latency, or increased throughput come at a price. What that means conceptually e.g. for access to shared data, I leave to you to research. Here I want to show you how to practically handle errors in such flows. Because error handling cannot ......

Posted On Saturday, May 5, 2012 2:19 PM | Comments (0) | Filed Under [ Software modelling ]

Easily Parallelize Operations in Flows Using the Flow Execution Engine
My previous article introduced the Flow Execution Engine NPantaRhei (download here from github). It showed how to define a data flow and register its operations. By default such flows are executed synchronously and sequentially – although in the background with regard to their initiator. But it´s easy to parallelize execution of operations. Here´s a first suggestion for how to run operations concurrently in the example given in the first article. The dots in the operations signify asynchronous operation: ......

Posted On Wednesday, May 2, 2012 12:14 PM | Comments (0) | Filed Under [ Event-Based Components Software design ]

Powered by: