Apache License 2.0

项目介绍

apache/incubator-pegasus 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 Apache License 2.0 许可证,目前获得 2.1k 个 Star、327 次 Fork。

仓库全名
apache/incubator-pegasus
开源许可证
Apache License 2.0
Star 数
2.1k
Fork 数
327
未关闭 Issue
220

README 摘要

[github-release]: https://github.com/apache/incubator-pegasus/releases [PacificA]: https://www.microsoft.com/en-us/research/publication/pacifica-replication-in-log-based-distributed-storage-systems/ [rocksdb]: https://github.com/facebook/rocksdb [hbase]: https://hbase.apache.org [website]: https://pegasus.apache.org Note: The master branch may be in an unstable or even in a broken state during development. Please…

完整内容见 GitHub 原始 README 或本页 。

常见问题

incubator-pegasus 用什么语言开发?

主要使用 C++ 编写,采用 Apache License 2.0 许可证,目前有 2.1k 个 Star。

incubator-pegasus 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 incubator-pegasus 的源码?

可以直接克隆仓库:git clone https://github.com/apache/incubator-pegasus.git,默认分支为 master;安装与运行步骤见仓库 README。

incubator-pegasus 最近还在维护吗?

仓库最近一次更新为 6月16日,当前有 220 个未关闭 Issue;Star 数为 2.1k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
2810
价值分
1335
活跃状态
活跃

语言占比

C
C++
CMake
Dockerfile
Go
HTML
Java
JavaScript
Makefile
Python
Scala
Shell
Thrift

README

pegasus-logo

Lint and build regularly License Releases

Note: The master branch may be in an unstable or even in a broken state during development. Please use GitHub Releases instead of the master branch in order to get stable binaries.

Apache Pegasus is a distributed key-value storage system which is designed to be:

  • horizontally scalable: distributed using hash-based partitioning
  • strongly consistent: ensured by PacificA consensus protocol
  • high-performance: using RocksDB as underlying storage engine
  • simple: well-defined, easy-to-use APIs

Background

Pegasus targets to fill the gap between Redis and HBase. As the former is in-memory, low latency, but does not provide a strong-consistency guarantee. And unlike the latter, Pegasus is entirely written in C++ and its write-path relies merely on the local filesystem.

Apart from the performance requirements, we also need a storage system to ensure multiple-level data safety and support fast data migration between data centers, automatic load balancing, and online partition split.

Features

  • Persistence of data: Each write is replicated three-way to different ReplicaServers before responding to the client. Using PacificA protocol, Pegasus has the ability for strong consistent replication and membership changes.

  • Automatic load balancing over ReplicaServers: Load balancing is a builtin function of MetaServer, which manages the distribution of replicas. When the cluster is in an inbalance state, the administrator can invoke a simple rebalance command that automatically schedules the replica migration.

  • Cold Backup: Pegasus supports an extensible backup and restore mechanism to ensure data safety. The location of snapshot could be a distributed filesystem like HDFS or local filesystem. The snapshot storing in the filesystem can be further used for analysis based on pegasus-spark.

  • Eventually-consistent intra-datacenter replication: This is a feature we called duplication. It allows a change made in the local cluster accesible after a short time period by the remote cluster. It help achieving higher availability of your service and gaining better performance by accessing only local cluster.

To start using Pegasus

See our documentation on the Pegasus Website.

Client drivers

Pegasus has support for several languages:

Contact us

  • Send emails to the Apache Pegasus developer mailing list: [email protected]. This is the place where topics around development, community, and problems are officially discussed. Please remember to subscribe to the mailing list via [email protected].

  • GitHub Issues: submit an issue when you have any idea to improve Pegasus, and when you encountered some bugs or problems.

Test tools:

Data import/export tools:

License

Copyright 2022 The Apache Software Foundation. Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

评论

暂无评论