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

Need to delete all redis keys related to new post #128

Open
tanish35 opened this issue Oct 23, 2024 · 3 comments
Open

Need to delete all redis keys related to new post #128

tanish35 opened this issue Oct 23, 2024 · 3 comments
Assignees

Comments

@tanish35
Copy link
Collaborator

If a user posts a new post then all redis keys that could be used for searching that post should be deleted from cache

Can't figure out now
Will leave it for future

@tanish35
Copy link
Collaborator Author

https://stackoverflow.com/a/23399125

need to figure out along the lines of this. Current temporary fix is shortening the expiry time to 5 min

@tanish35
Copy link
Collaborator Author

Ok new plan will use elasticsearch/opensearch instead of redis.
Need to find a free tier for that

@tanish35
Copy link
Collaborator Author

Ok will have to be purging the entire database. Will figure it out later

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

No branches or pull requests

2 participants