skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

[Feature] [BanyanDB] Replication mechanism inside cluster.

Open wu-sheng opened this issue 3 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

BanyanDB should support a replication mechanism for making the server more stable and optimization for queries. This replication only happens inside the cluster, with high network quality(high speed and low latency). In this case, replication latency should be low.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

wu-sheng avatar Feb 06 '22 09:02 wu-sheng

The latency is unstable even in high network quality. The fallacies of distributed computing told us the network is always unreliable. So we should assume the latency will/must be inevitable. The replication of banyandb should introduce the consistency model to handle the latency, bandwidth, and other network issues.

Cassandra first introduces tune consistency to determine which consistency level they need. But I prefer the M3DB's simplified version

Since the liaison is the gateway of the master and replicas, the consistency strategy could be its responsibility.

hanahmily avatar Feb 09 '22 01:02 hanahmily