| commit | 3ad6fe7f434569220b90d1dd7272667771747ae0 | [log] [tgz] |
|---|---|---|
| author | acelyc111 <405403881@qq.com> | Thu Jul 19 14:58:08 2018 +0800 |
| committer | acelyc111 <405403881@qq.com> | Thu Jul 19 14:58:08 2018 +0800 |
| tree | cc64dbb7fef98455cd8ad32564526f99d164bc7d | |
| parent | b6c6f036ab06979d613af72442f9d77899a92bb9 [diff] |
Release pegasus 1.10.0
Pegasus is a distributed key-value storage system developed and maintained by Xiaomi Cloud Storage Team, with targets of high availability, high performance, strong consistency and ease of use. The original motivation of this project is to replace Apache HBase for users who only need simple key-value schema but require low latency and high availability. It is based on the modified rDSN(original Microsoft/rDSN) framework, and uses modified RocksDB(original facebook/RocksDB) as underlying storage engine. The consensus algorithm it uses is PacificA.
High performance
Here are several key aspects that make Pegasus a high performance storage system:
High availablility
Unlike Bigtable/HBase, a non-layered replication archiecture is adopted in pegasus in which an external DFS like GFS/HDFS isn't the dependency of the persistent data, which benefits the availablity a lot. Meanwhile, availablity problems in HBase which result from Java GC are totally eliminated for the use of C++.
Strong consistency
We adopt the PacificA consensus algorithm to make Pegasus a strong consistency system.
Easily scaling out
Load can be balanced dynamically to newly added data nodes with a global load balancer.
Easy to use
We provided C++ and Java client with simple interfaces to make it easy to use.
The following diagram shows the archiecture of Pegasus:
Here is a brief explaination on the concepts and terms in the diagram:
For more details about design and implementation, please refer to PPTs under docs/ppt/.
The data model in Pegasus is (hashkey + sortkey) -> value, in which:
The following diagram shows the data model of Pegasus:
You may want to refer to the installation guide.
Submodules:
Client libs:
Test tools:
Data import/export tools:
We open source this project because we known that the system is far from mature and needs lots of improvement. So we are looking forward to your contribution.
If you have more questions, please join our slack channel.
Copyright 2015-2017 Xiaomi, Inc. Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0