How to Implement Azure Cache with Replicas for Data Integrity

Barak Pahima 60 Reputation points
2024-10-07T11:27:09.2733333+00:00

I am seeking a solution for Azure Cache that ensures data integrity. I have noticed that Azure Cache Enterprise offers strong eventual consistency; however, this is insufficient for my needs.

The scenario involves using two Azure caches where all clients would read and write from one node (the primary), while the secondary remains continuously synced. Although Azure Cache Premium tier appears to be one option, it seems that automatic failover to the secondary node is not supported when the primary node goes down. Is there a version of Azure Cache that provides automatic switching to the secondary in case of primary node failure?

Thank you,

Barak.

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
259 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 19,581 Reputation points Microsoft Employee
    2024-10-18T22:39:25.97+00:00

    @Barak Pahima Thank you for reaching out.

    The Standard, Premium and Enterprise tiers of Azure Cache for Redis all provide data replication with eventual consistency and automatic failover in case of primary node failures. These tiers have replication and high availability by default and no customer action is needed in case of primary node failure.

    Are you referring to to replication/redundancy within a single cache or across multiple caches (geo replication)? Failover of primary nodes within a single cache is always automatic. However, failover between different caches in a geo replicated set of caches is not automatic. 

    Regards,

    Oury


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.