[Feature] Redis 토큰 캐시 관리 #154
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#154
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
설명
디바이스 토큰을 Redis에 캐싱하여 Push 발송 시 DB 조회를 최소화한다.
체크리스트
SPMS.Application/Interfaces/ITokenCacheService.cs— 인터페이스 정의SPMS.Infrastructure/Caching/TokenCacheService.cs— Redis 기반 구현device:token:{serviceId}:{deviceId}SPMS.Infrastructure/DependencyInjection.cs— DI 등록SPMS.Infrastructure/Workers/PushWorker.cs— single 발송 시 캐시 우선 조회SPMS.Application/Services/DeviceService.cs— 등록/삭제 시 캐시 무효화