Tag Info

New answers tagged

0

I would suggest you look into scheduling algorithms: a list of scheduling algorithms by category here and partial order relations to make sure the order of the actions of a given user is respected. You can generate a tree of dependencies using the relations which would help you in scheduling.


0

A simple greedy approach should fulfill your requirements. I assume you have an ordered input queue with all actions to process, and a list of actions associated with corresponding users currently under (parallel) processing (lets call these "users under processing"). Whenever the processing of one action is done, it is removed, and you check the next ...



Top 50 recent answers are included