Paralleling trading software

前端 未结 1 675
迷失自我
迷失自我 2021-01-29 01:28

My trading software is pretty slow, I want to boost it. There are two bottle-necks.

First bottleneck:

When new bunch of data is received (new quotes, trades etc.

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-29 02:08

    Your questions is rather broad, what you are basically asking is how to make use of parallelism in your application? You already have code which is broken up into discrete tasks, so using parallelism shouldn't be a big problem. I would recommend reading about PLinq and TPL, both provide easy-to-use APIs for this sort of thing:

    http://www.codeproject.com/KB/dotnet/parallelism-in-net-4-0.aspx

    0 讨论(0)
提交回复
热议问题