TPL Dataflow Speedup?

前端 未结 4 1727
难免孤独
难免孤独 2021-01-01 02:55

I wonder whether the following code can be optimized to execute faster. I currently seem to max out at around 1.4 million simple messages per second on a pretty simple data

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-01 03:33

    You can also increase the degrees of parallelism for dataflow blocks. This may offer an additional speedup and can also help with load balancing between linear tasks if you find one of your blocks acts as a bottleneck to the rest.

提交回复
热议问题