Skip to content

feat(backend): wire up shared Redis caching layer using cache-manager#995

Merged
yusuftomilola merged 1 commit into
DistinctCodes:mainfrom
warisu:feat/backend/redis-cache-layer-878
Jun 26, 2026
Merged

feat(backend): wire up shared Redis caching layer using cache-manager#995
yusuftomilola merged 1 commit into
DistinctCodes:mainfrom
warisu:feat/backend/redis-cache-layer-878

Conversation

@warisu

@warisu warisu commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Description

This PR addresses issue #878 by integrating a global caching layer via cache-manager and Redis. This prevents redundant, heavy querying patterns against core collections (such as report summaries and static lists) by resolving items directly from memory stores.

Changes Introduced

  • Resilient Global Infrastructure Configuration: Embedded async setup loops ensuring connection drops yield warning traces rather than service termination.
  • Typed Access Controls: Created custom service hooks handling data mutations cleanly.
  • State Invalidation Paths: Hooked drop logic across target post/put modification methods to keep local cache states clean.

Acceptance Criteria Verified

  • Active retrieval hits store outputs in memory layers successfully.
  • Running write statements clears existing cache references cleanly.
  • Dropping active Redis container connections switches execution logic to graceful fallback states smoothly.

Closes #878

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@warisu is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@warisu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@yusuftomilola yusuftomilola merged commit 48863ba into DistinctCodes:main Jun 26, 2026
6 of 8 checks passed
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.

[BE-05] Wire up Redis caching layer using cache-manager

2 participants