You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Apache Pegasus 2.2.0 is a feature release. The change-list is summarized here: https://github.com/apache/incubator-pegasus/issues/696.

Upgrading Notes

  • 2.2.0 can only be upgraded from 2.1.0. ReplicaServers of prior versions should upgrade to 2.1.0 firstly before upgrading to 2.2.0.

New Features

Modification of configs in runtime

In order to modify a configuration, we had to rolling-update all the servers to load the new config file. This is particularly cumbersome for us to operate the service.

Now, this feature allows us to dynamically update a config item using HTTP API without service downtime. Please check XiaoMi/rdsn#719XiaoMi/rdsn#704XiaoMi/rdsn#682 for more details.

Hot-key detection

The hotspot workload is dangerous as it continuously strikes the availability of one partition.

In this situation, we formerly needed to search the slow-log (abnormal reads) on servers and find the hot-key, which is usually the key that appears most frequently in the logs.

Now this job can be automated. When a hot partition is confirmed, we can use the hot-key detection RPC to start analyzing the incoming requests.

The analysis will end when it finds the hot-key or the process times out.

The related issue: apache/incubator-pegasus#495

Rate-limiting of reads


Optimizations and improvements

Bulk Load


Fixed Issues


Known Issues




Apache Pegasus 2.2.0 是一个功能版本。所有的改动都被总结在: https://github.com/apache/incubator-pegasus/issues/696

升级提示

  • 2.2.0 只能从 2.1.0 版本升级。此前版本的 ReplicaServers 首先需要升级至 2.1.0  2.2.0.

新功能

动态配置修改

为了修改一个配置项, 过去我们需要重启所有集群内服务节点来加载新的配置文件. 这对我们的服务运维造成较大的麻烦.

而现在, 我们可以使用这个功能, 通过HTTP API来动态修改配置项, 从而不影响服务.  你可以查看 XiaoMi/rdsn#719XiaoMi/rdsn#704XiaoMi/rdsn#682 来了解更多细节.




  • No labels