Active-Active 데이터베이스의 데이터 타입

Active-Active 데이터베이스의 데이터 타입 (Data types for Active-Active databases)

Active-Active 데이터베이스에서는 일반(standalone) Redis 데이터베이스와 데이터 타입이 어떻게 달라지는지 설명할게요. 대부분은 같은 방식으로 동작하지만, 몇 가지 주의할 점이 있어요.

출처: Redis 공식 문서 — data-types

Redis Software Redis Cloud

Active-Active 데이터베이스는 **충돌 없는 복제 데이터 타입(CRDTs, conflict-free replicated data types)**을 사용해요. 개발자 관점에서 대부분의 지원되는 데이터 타입은 Active-Active와 표준 Redis 데이터베이스에서 동일하게 동작해요. 하지만 몇몇 메서드는 Active-Active 데이터베이스에서 특정 요구사항을 가지기도 해요.

표준 Redis 데이터 타입과 동일해 보이지만, 각 데이터 타입에 대해 **동시에 발생하는 충돌 쓰기(conflicting concurrent writes)**를 처리하는 구체적인 규칙이 존재해요.

충돌 처리 규칙은 데이터 타입마다 다르기 때문에, 일부 명령은 Active-Active 데이터베이스에서 표준 Redis 데이터베이스와는 약간 다른 요구사항을 가져요.

자세한 내용은 다음 문서들을 참고하세요.

더 알아보기 (Learn more)