edulinq / autograder-server

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

More Specific Disk DB Locking #40

Open eriq-augustine opened 11 months ago

eriq-augustine commented 11 months ago

Right now, the disk DB backend has just one RW lock. This works, but we can be more specific and avoid a lot of lock contention.

It would be great if we could lock in the context of a course and the specific files we need within that course. This is related to #5.

eriq-augustine commented 4 months ago

@OliverLok Added course contextual locking in 01afbb41236ae3eb3e720bfe334543412ad8b4a4 . We still need the other parts of the db (e.g., users, assignments, etc), but this is a good start.