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

Implement indexed entities cache #6

Open
arkid15r opened this issue Sep 24, 2024 · 1 comment · May be fixed by #19
Open

Implement indexed entities cache #6

arkid15r opened this issue Sep 24, 2024 · 1 comment · May be fixed by #19
Assignees
Labels
backend good first issue Good for newcomers

Comments

@arkid15r
Copy link
Collaborator

As Algolia has a cap of 10K free search requests per month it would make sense to avoid querying index backend for the same search queries more than once.

The implementation should utilize Django cache https://docs.djangoproject.com/en/5.1/topics/cache/

The caching system should work for all entities (we currently have projects and issues).

The default TTL should be 86400 as we update the index on a daily basis. The update process must invalidate all cached entities.

@arkid15r arkid15r added backend good first issue Good for newcomers labels Sep 24, 2024
@onass1
Copy link

onass1 commented Sep 28, 2024

/assign

@onass1 onass1 linked a pull request Sep 30, 2024 that will close this issue
@arkid15r arkid15r linked a pull request Sep 30, 2024 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 good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants