edulinq / autograder-server

A server to automatically grading coding assignments.
MIT License
4 stars 5 forks source link

Global Scheduled Task Coordination #18

Open eriq-augustine opened 1 year ago

eriq-augustine commented 1 year ago

Course admins can choose when their own tasks run, but popular times (like midnight) could potentially get busy on big servers. It will probably be quite a while until this is an actual performance issue (if it ever is).

We would want some way of making sure that all the tasks don't startup at the same time. There are several ways we could do this. The heaviest way is probably some scheduler that only lets a certain number of tasks run at a time. The lightest way (aside from nothing) is automatically adding some fuzz each time a task is scheduled (say +- 30 mins, uniformly selected).