[go-nuts] using channels to gather bundles from inputs for batch processing

2019-05-02 Thread Øyvind Teig
Hi, Louki Sumirniy This is not really a response to your problem in particular, so it may totally miss your target. It's been a while since I did anything in this group. However, it's a response to the use of buffered channels. It's a coincidence that I react to your posting (and not the

[go-nuts] using channels to gather bundles from inputs for batch processing

2019-05-01 Thread Louki Sumirniy
I am working on a reliable UDP transport currently, and I am writing it using exclusively buffered channels. The way it works is there is three goroutines, one accepts new input, forwards it to an intermediate 'incoming' worker, who checks if the new data can be bundled (it is for reed solomon