DCSIMG
TPL Dataflow - Bnaya Eshet

Bnaya Eshet

Disclaimer

Browse by Tags

All Tags » TPL Dataflow (RSS)
The 3rd day of the SDP
The 3rd day of the SDP was over and I want to thanks all the attendants. my yesterday session was about C# 5 async and await . today I will have a full day tutorial on Rx and TPL Dataflow . you can download the demo code and also the presentation for second and third days from here (the link is also having the demo code for today's sessions). anyway, I also want to recommend 2of yesterday session. if you were attend at the conference you should have an access to the sessions video page. first...
Parallel and The C# Memory Model
Parallel and The C# Memory Model Parallel programming can be tricky , both compiler and CPU's optimization can lead into a twilight zone's debugging. lets take the following code snippet snippet: Code Snippet class Program { static void Main( string [] args) { Console .WriteLine( "Start" ); var u = new Util (); u.Exec(); Console .ReadKey(); } } public class Util { private bool _stop = true ; public void Exec() { Task t = Task .Run(() => { bool b = true ; while (_stop) { b = ...
Open House at Microsoft
Open House at Microsoft yesterday I was lecturing at Microsoft about VS 2012, .NET 4.5, async/await, Rx and TPL Dataflow. there was 90 people attended and I hope that everybody has learn something new. the code sample for this lecture available here .
Tpl Dataflow TOC
Tpl Dataflow TOC Part 1 Part 2 : ITargetBlock Part 3 : ISourceBlock Part 4 : Block structure Part 5 : walkthrough
SDP 2012 - Day 2
SDP 2012 - Day 2 the SDP 2012 conference has day 2 had completed. I was speaking about async / await , Rx and TPL Dataflow . you can find the materials for my lecture in here . I will give the same lecture on Wednesday next week, there is a chance that some place is still available, so if you are interesting, you can check it with Sela Marketing .
My session at the SDP
Sela conferences (SDP) is coming near (25-29/3/2012). you can check the following link for all the SDP's tutorials and sessions http://www.sela.co.il/s/SDP2012/index.html . I will present 2 full-day tutorials (Yaniv Rodenski will join me on the first one). the first day Introduction to the Task Parallel Library is a full TPL 4 day which will give you a solid knowledge, HowTo and Consideration about building parallel application using the TPL library.   at the end of this day we will...
Tpl Dataflow walkthrough - Part 5
Tpl Dataflow walkthrough - Part 5 this post is a complete walkthrough of a web crawler sample that was build purely by using Tpl Dataflow . it was built on .NET 4.5 / C# 5 (on a virtual machine using VS 11 ). I will analyze each part of this sample, both by discussing the Dataflow blocks and the patterns in used. the sample code is available in here (it is a VS 11 project). during the walkthrough you will see the following Tpl Dataflow blocks: TransformBlock TransformManyBlock ActionBlock BroadcastBlock...
Tpl Dataflow (IDataflowBlock) - Part 5
Tpl Dataflow ( IDataflowBlock ) - Part 5 the previous post discus the concept ITargetBlock and ISourceBlock , which is the TDF consumer/Producer contract. you can find all the post in this series under the TDF tag. this post focus on the IDataflowBlock contract which is the life-time management contract for all data-flow's blocks. the IDataflowBlock define single property and 2 methods: Code Snippet public interface IDataflowBlock { Task Completion { get ; } void Complete(); void Fault( Exception...
Tpl Dataflow (block structure) - Part 4
Tpl Dataflow (block structure) - Part 4 this is the 4th post in the Tpl dataflow series, you can see other post in this series at the TDF tag. this post will discuss a general implementation of built-in Tpl dataflow block . in general built-in blocks fall into 3 categories Pure buffering blocks: present different strategy of buffering and distribution. Execution blocks: manipulate the incoming messages. Grouping blocks: deal with different strategies for combine messages from multiple sources. as...
Tpl Dataflow (ISourceBlock) - Part 3
Tpl Dataflow (ISourceBlock) - Part 3 the previous post discus the concept ITargetBlock which is the TDF consumer contract. this post will focus on the source block which is the producer contract. as mention in previous post, sources and targets engage in a protocol for transferring messages between them. Source Block: the source block main responsibility is to produce (or manipulate) data which will be consume by the target . as we learn in previous post the target may consume the data either directly...
Tpl Dataflow (ITargetBlock) - Part 2
Tpl Dataflow (ITargetBlock) - Part 2 in this post will focus on one of the TPL Dataflow main contract called target. previous post can be found here . TPL Dataflow is built upon the concept of Producer / Consumer pattern, which represent by 2 interfaces. ISourceBlock<T> which is the producer and ITargetBlock<T> which is the consumer . sources and targets engage in a protocol for transferring messages between them . this post is focusing on the target (the source will be discus in the...
SDP 2011
the 2011 SDP conference has just come to end. and we want to thanks all attendants. we have spoken about TPL and what’s new in TPL 4.5 , Aysnc and await , Rx (Reactive Extension) and TPL Dataflow . the material for the our sessions is available here . the link contain the material for both the first and second day (code samples).   links: RxContrib project , Rxx Project , TPL Dataflow