Skip to content

Feature/redis cache service - #117

Closed
kiel997 wants to merge 6 commits into
stellarspend:mainfrom
kiel997:feature/redis-cache-service
Closed

kiel997 wants to merge 6 commits into
stellarspend:mainfrom
kiel997:feature/redis-cache-service

Conversation

@kiel997

@kiel997 kiel997 commented Aug 25, 2026

Copy link
Copy Markdown

closes #130

Summary

  • Added Redis-backed CacheService using ioredis
  • Added Redis get/set/delete/pattern invalidation support
  • Added caching to transaction history
  • Added caching to wallet balances
  • Added caching to spending trends
  • Added transaction cache invalidation after sync
  • Added Redis health check
  • Added REDIS_URL configuration validation
  • Added CacheService unit tests

Cache TTLs

  • Transactions history: 60 seconds
  • Wallet balances: 30 seconds
  • Spending trend: 300 seconds

Testing

  • npm test -- cache — 9/9 tests passed
  • npm test — 24/24 tests passed
  • npm run build — passed
  • Redis connectivity verified with redis-cli ping → PONG
  • Redis cache integration verified locally

Verification

Redis was started locally using Docker and confirmed healthy.

@Uyoxy

Uyoxy commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@kiel997

@kiel997

kiel997 commented Aug 28, 2026

Copy link
Copy Markdown
Author

im done with this task please can you review it

@kiel997

kiel997 commented Aug 29, 2026

Copy link
Copy Markdown
Author

please kindly review and merge

1 similar comment
@kiel997

kiel997 commented Aug 30, 2026

Copy link
Copy Markdown
Author

please kindly review and merge

@Uyoxy

Uyoxy commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

ci is failing

@kiel997 kiel997 closed this by deleting the head repository Sep 26, 2026
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