Implement Unified Cache Layer
Open
enhancement
gofr-soc
- Dominant language
- Go
- Stars
- 20.9k
- Forks
- 1.8k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 39
Description
### **Goal**
Implement a **unified caching layer** under `pkg/cache` that is:
- Simple to use
- Production-ready
- Configurable and extensible
- Integrated with observability tooling
---
### Deliverables
- Core Cache Interface
- In-Memory Backend
- Redis Backend
- Observability Wrapper
- Logging: Log each operation and failure with context.
- Tracing: Wrap backend calls in OpenTelemetry spans.
- Metrics: Emit Prometheus metrics for operations, latencies, and errors.
- Configuration Support
Support runtime configuration and environment-based backend switching.
Contributor guide
Assessment
This issue has not been assessed yet.