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

Cache queries of gateway to course service when fetching information about courses the user is a member of #57

Open
myluki2000 opened this issue Sep 13, 2023 · 0 comments
Labels

Comments

@myluki2000
Copy link
Collaborator

myluki2000 commented Sep 13, 2023

Description

For every query of the frontend to the gateway authenticates the user and fetches the course memberships of the user and also data (pubished?, startdate, enddate) about the courses the user is a member of (by querying the course service).

These data usually do not change from one query to the next, so they could be cached in the gateway so it doesn't have to call the course service on each request.

@myluki2000 myluki2000 changed the title Cache queries of gateway to course service when fetching information about courses the user is a member of Cache queries of gateway to user & course service when fetching information about courses the user is a member of Sep 13, 2023
@LG1401 LG1401 added the backend label Sep 15, 2023
@myluki2000 myluki2000 changed the title Cache queries of gateway to user & course service when fetching information about courses the user is a member of Cache queries of gateway to course service when fetching information about courses the user is a member of Oct 11, 2023
@LG1401 LG1401 removed the optional label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants