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.
精彩评论