Naveen Kumar
Naveen Kumar

Reputation: 973

RIAK Cluster across AWS regions

I have an application hosted in AWS, where the application's data is stored in RIAK KV cluster; there are 5 nodes forms this cluster.

To meet high demand and availability constrains, i would like to replicate the complete setup in another AWS region (as active-active), where yet another RIAK KV cluster will be created with upto 5 node.

Now the question is, How do i sync the data between these 2 RIAK cluster which are running in 2 different AWS regions?

Since the opensource/commercial version of RIAK KV does not provide multi region clustering capability, How do i sync data between these clusters?

Upvotes: 0

Views: 168

Answers (1)

Craig
Craig

Reputation: 1001

The Enterprise version of Riak KV has multi-cluster/datacenter replication built in (as you note in your question). This form of replication does some pretty clever things to ensure that data copied to both clusters remains in synch when updated as well as recovering from things like data center failure and split brain conditions.

If you want to roll your own replication there are quite a few ways that you might approach it including:

The primary weakness of these solutions is that you still need to figure out how to keep data in synch across the clusters under failure conditions.

I know that there are more than a handful of Riak KV open source users who have rolled various in house replication mechanisms so hopefully one of them will chime in with what they have done.

Upvotes: 1

Related Questions