-
2024.09.02 data replicatedTIL 2024. 9. 3. 00:14
https://medium.com/@_sidharth_m_/how-is-data-replicated-in-distributed-systems-0fe7dd8af904
How is Data Replicated in Distributed Systems?
Understanding Single Leader, Multi-Leader, and Leaderless Replication
medium.com
데이터베이스 복제 관련 글을 읽었습니다.
단일 리더, 멀티 리더, 리더 없음의 방식을 소개합니다.
단일리더는 노드 하나만 업데이트문을 수신하는 것 입니다. 리더 다운 시 리더의 복구를 기다리거나 새 리더를 선출합니다. 그 간격동안은 장애시간이 됩니다. 복제 방법도 동기복제와 비동기 복제가 있습니다.
멀티 리더는 모드 노드가 쓰기,읽기가 가능합니다.
리더 없음은 사용자가 모든 노드 혹은 다수 노드에게 요청을 보내는 것을 의미합니다.
이제에도 관련된 글을 읽었었는데 리더없음은 처음봐서 흥미롭네요.
과거복제 글도 읽었었는데 이때 글은 싱글 노드 복제 시 발생하는 읽기 문제의 해결법을 설명하고 있습니다.
https://gisungcu.tistory.com/m/5912024.04.23 Read-your-write consistency, redirect CORS
Read-your-write consistency Read-your-write consistency arpitbhayani.me우버 글을 보다가 첨부되어 있는 글입니다.서비스를 운영하면 가용성을 높이기 위해 db 이중화를 하게 됩니다.복제 과정에서 마스터와 리
gisungcu.tistory.com
'TIL' 카테고리의 다른 글
2024.09.09 Architecture Disadvantages (0) 2024.09.09 2024.09.03 Double Charges (0) 2024.09.03 2024.08.28 system design interviews (0) 2024.08.28 2024.08.23 Deadlock on rollback, but not on commit, when using ON DUPLICATE KEY (0) 2024.08.23 2024.08.20 foreign key (0) 2024.08.20