Hacker News new | ask | show | jobs
by mrblah 3117 days ago
how does this compare to tpl dataflow on performance? is a go channel kinda like c# bufferblock? are channels thread safe for multiple producers and multiple consumers writing to and taking from the same queue? i like the code sample.. very clean.
1 comments

I haven't compared it to TPL Dataflow however made some pure performance measurements. The results are at the end of this: https://github.com/kpocza/GoSharp/blob/master/src/GoSharp.Pe...

Basically Go# can pass millions of messages in a second.

And yes, a Go#/Go channel is similar to something like BufferBlock however both are designed to fit into different "ecosystem" and way of thinking.

Go# channels are thread safe and have been designed to operate in parallel environment.