Feeds:
Posts
Comments

Archive for the ‘Threading’ Category

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

I came across the Interlocked class today. It is a very simple way of incrementing or decrementing or doing thread safe algorithmic calculations based upon a single property change in the same class. It is no good for changing the properties of another class, such as an element on a domain object, but is quite [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.