DB 복제 & 읽기/쓰기 분리: Replication, Lag, Failover 실전

복제 구조의 원리(Primary/Replica), 복제 지연(Lag) 대응, 읽기/쓰기 분리 라우팅과 장애 전환 기준