开发者

What are the possible designs to solve this concurrency problem?

Greetings Overflowers,

Users execute transactions, transactions execute queries, queries execute index operations.

I've limited number of threads and I want to give them, in order of priority, to users then transactions then queries then index operations.

Note that dependencies might exist 开发者_高级运维between executions.

If there are available threads I want more granular executions to utilize them.

What are the possible designs to model such dynamics ?

Any good recent books on concurrency design patterns ?

PS: I'm using c#.net 4

Regards


Maybe you should take a look into Patterns for Parallel Programming: Understanding and Applying Parallel Patterns with the .NET Framework 4.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜