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

Enhanced Performance: Implementing Redis Caching for Sentiment Analysis Module #32

Merged
merged 5 commits into from
May 2, 2024

Conversation

devfinwiz
Copy link
Owner

@devfinwiz devfinwiz commented May 1, 2024

Description:
This PR implements smart caching for the Sentiment module, enhancing its efficiency and responsiveness. During market hours, the cache is updated every 15 minutes to ensure users have access to the latest sentiment data. Outside of market hours, when sentiment values remain static, the cache is configured to expire within a 24-hour timeframe, optimizing resource utilization. By leveraging Redis, this smart caching mechanism significantly improves the performance of the Sentiment module, providing users with up-to-date insights while minimizing computational overhead.

Changes:

  • Implemented smart caching strategy for the Sentiment module.
  • Configured cache updates every 15 minutes during market hours.
  • Set cache expiration to 24 hours during non-market hours.

@devfinwiz devfinwiz requested a review from SuyashDM May 1, 2024 19:53
Copy link
Collaborator

@SuyashDM SuyashDM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@devfinwiz devfinwiz merged commit 2fc4304 into main May 2, 2024
3 checks passed
@devfinwiz devfinwiz changed the title [WIP] Enhanced Performance: Implementing Redis Caching for Sentiment Analysis Module Enhanced Performance: Implementing Redis Caching for Sentiment Analysis Module May 3, 2024
@devfinwiz devfinwiz deleted the feature/caching-mechanism branch May 11, 2024 21:07
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

Successfully merging this pull request may close these issues.

None yet

2 participants