Please first read Part one of the simple producer – consumer queue in .net4. In part 1 we defined a standard producer – consumer queue, however, there was nothing that particularly made this stand out from a queue written in a previous version of .Net. In this post, I am going to upgrade the queue [...]
Archive for the ‘Threading’ Category
Simple Producer – Consumer Queue in .NET 4 part 2
Posted in 2. Application Development, Design Patterns, Threading, tagged .NET4, c#, producer consumer, threading on January 8, 2012 | Leave a Comment »
Unit testing for managed memory leakage
Posted in Design Patterns, Memory Management, Problems and Solutions, TDD, Threading, tagged c#, garbage collection, GC - Memory Management, jet brains, performance, unit testing, weak references on December 31, 2011 | Leave a Comment »
It might seem a strange thing to do. Firstly can there be managed memory leakage? And secondly how can you unit test for this? I’ll put this into context and then all will become clear. I came across this interesting problem recently when playing around with a set of streaming real time data and attaching [...]
Simple Producer – Consumer Queue in .NET 4 part 1
Posted in Back to basics - C#, Threading, tagged c#, producer consumer, threading on December 29, 2011 | 1 Comment »
Another back to basics post for reference material . I will follow this post with how to improve this basic pattern with .NET 4 objects. In building a real time news aggregator which requires a producer – consumer queue to provide up to the second news feeds for a trading engine, I have updated my [...]
Building a news aggregator module for a trading platform –The architecture
Posted in 1. Financial, 2. Application Development, Agile, Architecture, Design Patterns, Problems and Solutions, Threading, Traders Tools, World View, WPF, tagged agile, architecture, c#, news aggregator, producer consumer, software design, WPF on December 16, 2011 | Leave a Comment »
In my recent post introducing the news aggregator I detailed what we are currently building. In this post, I will discuss some very high level architecture and some considerations around how to build the application. My first draft at architecture is to just get the different functional parts of the program identified. Then later we [...]