MCS UK Solution Development Team

The blog of the UK Solutions Development Team of Microsoft Consulting Services.

Browse by Tags

Tagged Content List
  • Blog Post: Execution Time Based Heuristic Custom Task Scheduler

    If you follow the samples for Parallel Programming with the .Net Framework , you may have come across the ParallelExtensionsExtras and the Additional TaskSchedulers . Although these samples cover a broad set of requirements I recently came across another that could be satisfied with the creation of a...
  • Blog Post: F# and Running Parallel Tasks

    Recently I have been working a lot with the Task Parallel Libraries. In doing so, in F#,  you will quickly learn that one has to perform quite a bit of casting. As such I have found it useful to define some wrapper members that abstract these casting and calling schematics: type ParallelEx =   ...
  • Blog Post: F# Parallel Processing and the Command Pattern

    In a previous post I talked about a mechanism for Parallel Process Execution with Conditional Completion . This code was a direct translation from a C# pattern. However it is worth noting that the Command pattern is not actually necessary in functional languages. To demonstrate this here is a version...
  • Blog Post: F#: An Array.Parallel Quicksort Implementation

    As I mentioned in my previous post, Array.Parallel sort functions demonstrating a Merge Sort using Barrier , I wanted to continue the parallel sort examples with a Quicksort using the Task Parallel Libraries. F#, as do all functional languages, lend themselves easily to Quicksort implementations. There...
  • Blog Post: F# Array.Parallel sort functions demonstrating a Merge Sort using Barrier

    If you follow the excellent Parallel Programing with .Net blog , you will have read a recent post by Emad Omara demonstrating a Parallel Merge Sort using Barrier . While there may be more efficient parallel sorting options, as this post notes, this is a good demonstration of the usage of a Barrier, and...
  • Blog Post: F# Parallel Process Execution with Conditional Completion

    In a previous posting, available here , I discussed a pattern for running long running processes synchronously and in parallel, but terminating processing when a certain condition was met. As an F# exercise I decided to write a similar code pattern using PSeq, an F#-style API for parallel operations...
  • Blog Post: Parallel process execution with partial completion of processes

    On a recent project I came across an interesting parallel processing problem that I could not find a well defined pattern for. The problem was I needed to execute some long running processes synchronously and in parallel, but stop processing when a certain condition was met. Each individual process would...
Page 1 of 1 (7 items)