Questions tagged [ccr]

This tag is for questions relating to the Concurrency and Coordination Runtime (CCR), provided by Microsoft as part of the Microsoft Robotics Toolkit.

This tag is for questions relating to the Concurrency and Coordination Runtime (CCR), provided by Microsoft as part of the Microsoft Robotics Toolkit. Microsoft states that the CCR...

addresses the need of service-oriented applications to manage asynchronous operations, deal with concurrency, exploit parallel hardware and deal with partial failure

The CCR may be superseded by TPL Dataflow, which will be part of the broader Task Parallel Library (TPL) subsystem in .Net 4.5.

44 questions
17
votes
4 answers

Concurrency and Coordination Runtime (CCR) Learning Resources

I have recently been learning the in's and out's of the Concurrency and Coordination Runtime (CCR). Finding good learning resources for this relatively new technology has been quite difficult. (A quick google search brings up "Creedence Clearwater…
Andrew Harry
  • 13,773
  • 18
  • 67
  • 102
12
votes
5 answers

Is there a .Net equivalent to java.util.concurrent.Executor?

Have a long running set of discrete tasks: parsing 10s of thousands of lines from a text file, hydrating into objects, manipulating, and persisting. If I were implementing this in Java, I suppose I might add a new task to an Executor for each line…
gcbrink
  • 225
  • 1
  • 3
  • 7
11
votes
5 answers

Is Microsoft CCR gaining any traction?

Microsoft's Concurrency and Coordination Runtime quite literally saved a project that was running into major issues with deadlocking. Since then I find that I use it more and more frequently for almost anything that requires asynchronous coding…
spender
  • 117,338
  • 33
  • 229
  • 351
7
votes
1 answer

CCR: Best practice for handling errors using causalities

Having a complex sequence of tasks, implementing error handling can quickly bloat the code when using try/catch blocks and stuff like Choice receivers on PortSet for every little task. Thankfully the CCR seems to offer a…
realMarkusSchmidt
  • 4,303
  • 1
  • 29
  • 33
6
votes
2 answers

Microsoft's CCR vs Task Parallel Library

Microsoft has at least two different approches to improved support for concurrent operations. 1) Is the Concurrency Coordination Runtime (CCR) which is part of Microsoft Robotics Studio and CCR & DSS Toolkit 2) Task Paralell Library (TPL) (Part of…
JonnyBoats
  • 5,177
  • 1
  • 36
  • 60
5
votes
1 answer

In .xsl, take a range value like "130-210", and determine if "86" or "458" is within that numeric range

I'm parsing an .xml file like: 100-200 83 In an .xls stylesheet I need to display a value indicating whether the value is within the normalRange, below it, or above it. This is a very…
MikeN
  • 45,039
  • 49
  • 151
  • 227
5
votes
4 answers

How to use CCR, DSS, VPL (aka Microsoft Robotics Development Studio) outside robotics?

How to use CCR, DSS, VPL (aka Microsoft Robotics Development Studio) outside robotics? I am looking for guidance in this field. I have tried all the examples and find the framework intriguing. Can anyone post other uses and examples, outside…
unom
  • 11,438
  • 4
  • 34
  • 54
3
votes
1 answer

Question about CCR and WCF integration

Regardind this solution Using the CCR with ASynchronous WCF Service Why do you need to do this : ThreadPool.QueueUserWorkItem(s => callback(this)); instead of just calling callback(this) ? Isn't QueueUserWorkItem going to use yet another thread ?
Marrius
3
votes
1 answer

How to store the carry-bit from Assembly 68K CCR?

I did find a MOVE from CCR instruction in the manual... http://www.freescale.com/files/archives/doc/ref_manual/M68000PRM.pdf But I keep getting an 'invalid addressing mode' error. I've tried different forms of syntax and anyways I only want to store…
Milan Novaković
  • 331
  • 8
  • 16
3
votes
3 answers

How to make batch remote calls to database or service?

Hope some of you can give some pointers on this one. I generate code where i have to make calls to remote resources like webservices or databases. Consider this piece of code class Parent{ IEnumerable Children; int…
gjvdkamp
  • 9,929
  • 3
  • 38
  • 46
3
votes
0 answers

How to use PortMode.OptimizedSingleReissueReceiver in an Interleave? (Microsoft CCR)

I have read a post on the Microsoft CCR forum on reducing the overhead of calls to Port.Post() [ref.: PortElement Instantiation in the CCR] and I was wondering if there is a similar way to bind a port to its receiver in order to use the port in…
mdarsigny
  • 607
  • 1
  • 6
  • 9
3
votes
4 answers

Interthread communication time

I am chaining together 15 async operations through ports and receivers. This has left me very concerned with the interthread messaging time, specifically the time it takes between a task posting data to a port, and a new task begins processing that…
Superman
  • 3,686
  • 6
  • 34
  • 46
2
votes
1 answer

How does CCR & DSS toolkit model compare to other scalability & concurency approaches?

I'm interested to comparison between various approaches to scalability & concurrency including CCR & DSS framework model. I would be especially interested with comparison with Hadoop and Erlang style concurency
sumek
  • 26,495
  • 13
  • 56
  • 75
2
votes
1 answer

Why does using Causalities in CCR result in memory leaks?

Does anyone have information about using Causalities? I have tried unsuccessfully to use these on my project as they appeared to be causing massive memory loads. Is this unusual? Beyond the normal (aka overly simple) examples given in the…
Andrew Harry
  • 13,773
  • 18
  • 67
  • 102
2
votes
1 answer

What is an efficent method for in-order processing of events using CCR?

I was experimenting with CCR iterators as a solution to a task that requires parallel processing of tons of data feeds, where the data from each feed needs to be processed in order. None of the feeds are dependent on each other, so the in-order…
Chuu
  • 4,301
  • 2
  • 28
  • 54
1
2 3