Skip to content

Rate limiting cache - #2627

Merged
simonredfern merged 4 commits into
OpenBankProject:developfrom
constantine2nd:develop
Nov 11, 2025
Merged

simonredfern merged 4 commits into
OpenBankProject:developfrom
constantine2nd:develop

Conversation

@constantine2nd

Copy link
Copy Markdown
Contributor

No description provided.

Key Features of the Implementation:

1. **Proper Location**: Caching is implemented at the data layer
(`MappedRateLimitingProvider`) rather than the business logic layer 2.
**Hourly Cache Invalidation**: Uses `YYYY-MM-DD-HH24` format in cache
key for automatic hourly invalidation 3. **Configurable TTL**: Defaults
to 1 hour (3600 seconds), can be customized via properties 4.
**Documentation**: Properly documented in sample.props.template with
clear explanation 5. **Consistent Pattern**: Follows the exact same
caching pattern as other cached functions in the codebase 6.
**Per-Consumer Caching**: Each consumer gets its own cache to prevent
cross-consumer interference
@sonarqubecloud

Copy link
Copy Markdown

@simonredfern
simonredfern merged commit 1e667f0 into OpenBankProject:develop Nov 11, 2025
1 of 2 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.

2 participants