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

Revert "stats on course content" very slow on PROD #211

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

JumanaFM
Copy link
Member

Reverts #209

@JumanaFM JumanaFM merged commit 8efb213 into master Feb 15, 2022
@JumanaFM
Copy link
Member Author

Hello @alizeeschoen
The current code didn't work properly when deployed. It doesn't handle high numbers of annotations, sources, and students. NB has high traffic, can you please test the code with mock data to make sure the code is efficient.
I suggest we start by making this feature available to instructors only for now to avoid dealing with sections.

@karger
Copy link
Member

karger commented Feb 15, 2022 via email

@alizeeschoen
Copy link

@JumanaFM @karger
This code intends to show the stats column (# of annotation per document, ...) on the course content. I think the reason it slow is because it fetches all annotations every 1min. Do you recommend any other way to make sure the annotations are updated live?

also @JumanaFM is there any way for me to test with a large amount of mock data without having to do it manually?

@karger
Copy link
Member

karger commented Feb 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants