v0.1.0
v0.1.0
What is it?
Xline
is a geo-distributed KV store for metadata management, which is based on the Curp
protocol.
Why make it?
Existing distributed KV stores mostly adopt the Raft
consensus protocol, which takes two RTTs to complete a request. When deployed in a single data center, the latency between nodes is low, so it will not have a big impact on performance. However, when deployed across data centers, the latency between nodes may be tens or hundreds of milliseconds, at which point the Raft
protocol will become a performance bottleneck. The Curp
protocol is designed to solve this problem. It can reduce one RTT when commands do not conflict, thus improving performance.
What does it provide?
- Etcd Compatible API
Kv
serviceWatch
serviceAuth
service
- basic implementation of the
Curp
protocol - basic
Xline
client (useCurp
directly) - benchmark tool
Usage
Note
In this release, we only provide binary files for X86_64 linux. Other platforms need to be compiled by yourself. we will add more support in the future.
Links
- GitHub: https://github.com/datenlord/Xline
- Paper of Curp: https://www.usenix.org/system/files/nsdi19-park.pdf