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 #1

Open
Nimeggis opened this issue Dec 5, 2023 · 0 comments
Labels

Comments

@Nimeggis
Copy link
Member

Nimeggis commented Dec 5, 2023

From graphql_gateway created by myluki2000: IT-REX-Platform/graphql_gateway#57

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.

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

1 participant