One-Time Password 인증을 위해 사용되는 임시 비밀번호(e.g. 6자리 랜덤 숫자)
임시 코드의 ttl을 입력 (redis의 만료 기능 사용)
분산 환경의 다수의 프로세스에서 동일한 자원에 접근할 때, 동시성 문제 해결
RDB의 레코드 락을 걸어 안전한게 할 수 있지만, 네임드 락과 같은 어플리케이션 락이 필요
네임드락을 분산락으로써 구현 가능
시스템 안정성/보안을 위해 요청의 수를 제한하는 기술
Fixed-window Rate Limiting 고정된 시간(e.g. 1분) 안에 요청 수를 제한하는 방법
장점
단점
Activity Feed 사용자 또는 시스템과 관련된 활동이나 업데이트를 시간순으로 정렬하여 보여주는 기능
Lists
, Sorted Sets
, Hashes
등의 자료 구조를 활용합니다. 예를 들어, **Sorted Sets
**는 활동의 타임스탬프를 점수로 사용하여 활동을 저장하고, 이를 시간순으로 쉽게 검색하고 표시할 수 있게 합니다.Fan-Out
Pub/Sub
메커니즘을 사용하여 Fan-Out을 구현할 수 있습니다. 게시자(Publisher)가 메시지를 발행하면, 구독자(Subscriber)들이 이 메시지를 받아 처리합니다. 또한, **Lists
**나 **Streams
**을 사용하여 더 복잡한 Fan-Out 구조를 구현할 수도 있습니다.