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

[Feature] Implement Analysis Caching to Optimize Performance #302

Open
Anushka-Pote opened this issue Nov 3, 2024 · 0 comments
Open

[Feature] Implement Analysis Caching to Optimize Performance #302

Anushka-Pote opened this issue Nov 3, 2024 · 0 comments

Comments

@Anushka-Pote
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, the API processes PDF files and performs analysis each time a user uploads them, even if the files are identical.

Describe the solution you'd like
To improve performance and reduce computation time, we should implement a caching mechanism. This will store analysis results temporarily and return cached results for repeated uploads of the same files.

Expected Outcome
Implement a caching mechanism that checks if a resume and job description pair has been previously analyzed.
If a match is found in the cache, return the cached result.
If not, perform the analysis, store the result in the cache, and then return it to the user.

Additional context
Will need to use some caching python library or a dictionary for this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants