feat: Redis 토큰 캐시 관리 구현 (#154) #155
No reviewers
SPMS/Owners
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#155
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/#154-redis-token-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 작업 요약
🔗 관련 이슈 (Related Issues)
Closes #154
🛠️ 작업 내용 (Changes)
📢 리뷰어 참고 사항 (To Reviewers)
✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)
- ITokenCacheService 인터페이스 및 Redis 기반 TokenCacheService 구현 - Key: device:token:{serviceId}:{deviceId}, TTL: 1시간 - PushWorker single 발송 시 캐시 우선 조회, 미스 시 DB 조회 후 캐시 저장 - DeviceService 등록/수정/삭제/수신동의 변경 시 캐시 무효화 - RedisConnection에 GetServer() 메서드 추가 (서비스별 전체 무효화용) Closes #154