앱 프로필에서 멀티 클러스터 라우팅을 사용하는 경우 Bigtable에서 자동으로 장애 조치를 처리합니다. 가장 가까운 클러스터에서 요청을 처리할 수 없는 경우 Bigtable이 트래픽을 사용 가능한 가장 가까운 클러스터로 라우팅합니다.
아주 짧은 시간 동안 클러스터를 사용할 수 없는 경우에도 자동 장애 조치가 발생할 수 있습니다. 예를 들어 Bigtable이 요청을 한 클러스터로 라우팅했는데 해당 클러스터의 응답 속도가 너무 느리거나 일시적인 오류가 반환되면 Bigtable은 일반적으로 다른 클러스터에서 해당 요청을 다시 시도합니다.
멀티 클러스터 라우팅을 사용하는 경우 기한이 있는 요청을 보내면 Bigtable은 기한을 맞추는 데 필요한 경우 자동으로 장애 조치를 취합니다. 요청 기한이 다가오지만 초기 클러스터가 응답을 보내지 않은 경우 Bigtable은 다음으로 가까운 클러스터로 요청을 다시 라우팅합니다.
Bigtable은 복제가 완료되기 전에 장애 조치로 인해 발생할 수 있는 모든 데이터 충돌을 처리하기 위해 내부 마지막 쓰기 성공 알고리즘을 사용합니다. 자세한 내용은 충돌 해결 방법을 참조하세요.
멀티 클러스터 라우팅과 함께 복제를 사용하여 애플리케이션의 고가용성(HA)을 확보하려면 클라이언트 서버 또는 VM이 2개 이상의 Google Cloud 리전 내나 근처에 있어야 합니다. 이 권장사항은 Google Cloud에서 애플리케이션 서버를 호스팅하지 않는 경우에도 적용됩니다. 데이터가 애플리케이션 서버와 가장 가까운 Google Cloud 리전을 통해 Google Cloud 네트워크에 들어오기 때문입니다. 다른 요청과 마찬가지로 장애 조치는 거리가 짧을 수록 더 빠르게 완료됩니다.
많은 자동 장애 조치가 매우 짧은 시간 동안 수행되어 사용자가 알아차리지 못합니다. 일정 기간 동안 자동으로 경로가 변경된 요청 수를 보려면 Google Cloud Console에서 자동 장애 조치 그래프를 확인하면 됩니다. 인스턴스 목록을 열고 인스턴스 이름을 클릭한 후 모니터링을 클릭하면 됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-06(UTC)"],[[["Replication enables traffic failover to another cluster within the same instance if a Bigtable cluster becomes unresponsive, and these failovers can be manual or automatic."],["Manual failovers, used with single-cluster routing, require user judgment based on signals like increased errors, timeouts, or latency, but are not guaranteed to resolve issues, so monitoring is recommended."],["Automatic failovers, utilized with multi-cluster routing, are handled by Bigtable, routing traffic to an available cluster when the nearest one is unable to process a request, and also apply to deadline requests."],["During failovers, Bigtable uses a *last write wins* algorithm to resolve data conflicts that might occur before replication is completed."],["For optimal performance in a multi-cluster routing environment, client servers or VMs should be located near or within multiple Google Cloud regions to ensure faster failovers."]]],[]]