4 ms·
Does the replication work cross-region, say US-East and US-West? or even cross continent? It sounds like the timing requires very short latency and might not wo
by nhumrich 9y ago
Does the replication work cross-region, say US-East and US-West? or even cross continent? It sounds like the timing requires very short latency and might not work in these scenarios
- d4l3k 9y agohttps://forum.cockroachlabs.com/t/cross-region-sync-replication-deployment-of-cochroahdb/415 https://forum.cockroachlabs.com/t/cross-region-sync-replicat...
- dis-sys 9y agoJepsen test results basically show that latency caused by replica distance won't screw your data. On the other hand, clock drift can stop your system, or even potentially corrupt your data, depending on how fast such incident can be detected/handled and what is your workload/what you are doing.
- a-robinson 9y agoYes, it works. Your latency will just be correspondingly higher (due to the speed of light). We are constantly testing a cross-region (i.e. US-East and US-West) cluster and have periodically run tests on cross-continent clusters (US to Asia-Pacific). In these cases you can help the cluster out by following some of the advice on the "Recommended Production Settings" page (https://www.cockroachlabs.com/docs/recommended-production-settings.html https://www.cockroachlabs.com/docs/recommended-production-se...) around specifying which `--locality` each node is in.