skywalking
skywalking copied to clipboard
[Feature] [BanyanDB] Replication mechanism inside cluster.
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
- [X] I agree to follow this project's Code of Conduct
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.