Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHG optimize the autograde calculation caching #98

Closed
wabscale opened this issue Jun 19, 2021 · 1 comment · Fixed by #242
Closed

CHG optimize the autograde calculation caching #98

wabscale opened this issue Jun 19, 2021 · 1 comment · Fixed by #242
Labels
backend feature New feature or request stale

Comments

@wabscale
Copy link
Collaborator

We can and should be more intelligent about how we handle the autograde calculations. We know they can only changed for a student when new submissions are processed. Knowing this, we can potentially cache the results for much longer (say like a week or two) and clear the cached results when the submissions is processed.

From the flask-caching docs

user_has_membership('demo', 'admin')
user_has_membership('demo', 'user')

cache.delete_memoized(user_has_membership, 'demo', 'user')
@wabscale wabscale added this to the CHG open source milestone Jun 19, 2021
@wabscale wabscale added the feature New feature or request label Jun 19, 2021
@github-actions
Copy link

Issue is stale

@github-actions github-actions bot added the stale label Aug 28, 2021
@wabscale wabscale linked a pull request Sep 16, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend feature New feature or request stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant