geeko
geeko

Reputation: 2852

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

Upvotes: 2

Views: 720

Answers (1)

Related Questions