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

GSCHED-710 modified visibility slot idx format #477

Conversation

dngomez
Copy link
Contributor

@dngomez dngomez commented Jul 18, 2024

Changed visibility data format to store data ranges in Redis instead of big lists.
Please be careful, this change may break things if Redis cache is not removed, since it is not compatible with the old format.

This change improves the timing in the schedule visibility calculation when using Redis data for the default parameters (semester visibility true and start date Oct 1, 2018) going from aprox 2 minutes to 1.5 minutes. Also the amount of stored data decreases to about a quarter of the original size.

Tests will fail if the Redis cache is not cleaned.

@dngomez dngomez requested a review from stroncod July 22, 2024 15:46
@dngomez dngomez merged commit c363747 into main Jul 22, 2024
2 of 3 checks passed
@stroncod stroncod deleted the GSCHED-710-change-visibility-snapshot-data-format-to-improve-redis-cache-efficiency branch August 1, 2024 16:23
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.

2 participants