dynomite icon indicating copy to clipboard operation
dynomite copied to clipboard

Replication in Dynomite

Open mforti opened this issue 5 years ago • 1 comments

In our company, we will use dynomite in production, where we will have two data centers, each with 3 redis servers. Our initial configuration was made with 1 rack for redis server, with a token equal to 4294967295 in all dyn_seeds declared in both data centers( 3 racks/ 3 redis for dc). However, we noticed that data is not always being replicated on all servers. Could you give an example of configuration for our need?

My configuration is like this, from all nodes (6) dyn_o_mite: datacenter: sp dyn_listen: 0.0.0.0:9101 dyn_seed_provider: simple_provider dyn_seeds:

10.xx.106.xx:9101:rack-v1:rj:4294967295
10.xx.106.xx:9101:rack-v2:rj:4294967295
10.xx.106.xx:9101:rack-v3:rj:4294967295
10.xx.109.xx:9101:rack-v2:sp:4294967295
10.xx.109.xx:9101:rack-v3:sp:4294967295
listen: 0.0.0.0:9102
servers:
127.0.0.1:6379:1
timeout: 15000
tokens: '4294967295'
rack: rack-v1
env: network
data_store: 0

mforti avatar Jan 30 '20 01:01 mforti

There are several exemplar YAML configurations in this folder.

ipapapa avatar Sep 17 '20 13:09 ipapapa