2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 67편. Redis Replication — Master-Replica 비동기 복제 아키텍처. PSYNC·partial/full resync 메커니즘, 읽기 분산 패턴,…
백엔드 데이터 인프라
백엔드 데이터 인프라 65편 — Secondary Indexing 패턴 (RDB 인덱스 모방)
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 65편. Redis Secondary Indexing — 주 키가 아닌 속성으로 효율적 조회. Sorted Set 으로…
백엔드 데이터 인프라 64편 — Twitter Clone 패턴 + Fanout 전략
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 64편. Redis Twitter Clone 패턴 — 사용자(Hash)·팔로워(Set)·타임라인(Sorted Set) 자료구조 조합으로 소셜 서비스 핵심 기능…
백엔드 데이터 인프라 63편 — Distributed Lock + Redlock 알고리즘
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 63편. Redis 분산 락 — SET NX EX 한 줄의 한계와 Redlock 알고리즘의 5단계,…
백엔드 데이터 인프라 62편 — Redis 패턴 9가지 한눈에 매핑
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 62편. Redis 자주 쓰는 패턴 9가지 — cache-aside·distributed lock·rate limiting·leaderboard·session·counting·secondary indexing·pub/sub·bulk loading 을 *어느…
백엔드 데이터 인프라 61편 — Redis Functions (Library · FCALL · 영속 스크립트)
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 61편. Redis Functions (Redis 7+) — Lua scripting 의 후속. Library·FCALL·FCALL_RO·FUNCTION LOAD 흐름, 영속·이름…
백엔드 데이터 인프라 60편 — Redis Lua Scripting (EVAL · EVALSHA)
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 60편. Redis Lua Scripting — EVAL·EVALSHA로 서버 사이드 원자적 로직 실행. KEYS·ARGV 구분의 의미,…
백엔드 데이터 인프라 59편 — Redis Transactions + WATCH Optimistic Locking
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 59편. Redis Transactions — MULTI/EXEC로 명령 묶기, WATCH로 optimistic locking 패턴, 원자성은 보장하되 롤백…
백엔드 데이터 인프라 57편 — Redis Pipelining + MULTI/EXEC와의 차이
2026-05-17•백엔드 데이터 인프라 백엔드 데이터 인프라 57편. Redis Pipelining — 여러 명령을 한 왕복으로 묶어 보내 N×RTT를 1×RTT로 줄이는 기술.…