글로벌 서비스에서 보다 빠른 서비스를 위한 Active-Active 구성
글로벌 서비스 혹은 다중 지역(multi-region) 서비스의 어려움
- 다중 지역 : 멀리 떨어져있는 곳에서 유저가 접속하여 서비스를 이용함
- 한 지역에 서버를 두고 서비스하면 멀리 떨어진 곳에서는 latency 문제가 있음
- 여러 지역에 서버를 두면 데이터 일관성에 문제가 있음
Redis Enterprise
- Enterprise급 기능을 제공하는 유료 제품
- Redis Labs에 의해 제공됨
- on-premise와 cloud 환경 둘 다 지원
- 제한 없는 선형 확장성, 향상된 고가용성, 추가 보안 기능, 기술 지원 등의 이점이 있음
- Active-Active 아키텍처를 지원
Active-Active Architecture
- 지역적으로 분산된 글로벌 데이터베이스를 유지하면서, 여러 위치에서 동일한 데이터에 대한
읽기/쓰기를 허용
- multi-master 구조로 생각할 수 있음 (master-replica 구조와 다름)
- 지역적으로 빠른 latency를 확보하면서도 데이터 일관성을 유지하는 형태
- 학술적으로 입증된 CRDT(Conflict-Free Replicated Data Types)를 활용해 자동으로 데이터 충돌을 해소
- 여러 클러스터에 연결되어 글로벌 데이터베이스를 이루는 것을 CRDB(Conflict-Free Replicated Database)라고 지칭