Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Server Development
>
Distributed Service/Framework
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
28
Star
157
Fork
93
SOFAStack
/
sofa-jraft
Code
Issues
5
Pull Requests
0
Wiki
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
[SoC] Heartbeat optimization in multi raft group
Backlog
#I1I99P
潘潘
Opened this issue
2020-05-25 10:43
### Introduction SOFAJRaft is a production-level, high-performance Java implementation based on the RAFT consistency algorithm that supports MULTI-RAFT-GROUP for high-load, low-latency scenarios. With SOFAJRaft you can focus on your business area. SOFAJRaft handles all RAFT-related technical challenges. SOFAJRaft is very user-friendly, which provides several examples, making it easy to understand and use. ### Target In multi raft group service, there are many nodes in same server process that may be all leaders, then the heartbeat to their followers will consume CPU and network. For example, we can share the heartbeat timer and merge heartbeat requests to the same follower server at once between these leaders to reduce the system consumpiton, of course, you can provide more optimization solutions. ### 简介 SOFAJRaft 是一个基于 RAFT 一致性算法的生产级高性能 Java 实现,支持 MULTI-RAFT-GROUP,适用于高负载低延迟的场景。 使用 SOFAJRaft 你可以专注于自己的业务领域,由 SOFAJRaft 负责处理所有与 RAFT 相关的技术难题,并且 SOFAJRaft 非常易于使用,你可以通过几个示例在很短的时间内掌握它。 ### 目标 在 multi raft group 场景中,可能有多个 raft node 在同一个进程中并且很多都是 leader,当他们各自向自己的 followers 发送心跳时会过多的消耗 CPU 和网络 IO。例如我们可以在同一个进程内共享心跳计时器并将这些 leaders 发往同一台机器的心跳请求合并起来发送出去,以此来减少系统消耗,当然你还可以提供更多的优化方案。
### Introduction SOFAJRaft is a production-level, high-performance Java implementation based on the RAFT consistency algorithm that supports MULTI-RAFT-GROUP for high-load, low-latency scenarios. With SOFAJRaft you can focus on your business area. SOFAJRaft handles all RAFT-related technical challenges. SOFAJRaft is very user-friendly, which provides several examples, making it easy to understand and use. ### Target In multi raft group service, there are many nodes in same server process that may be all leaders, then the heartbeat to their followers will consume CPU and network. For example, we can share the heartbeat timer and merge heartbeat requests to the same follower server at once between these leaders to reduce the system consumpiton, of course, you can provide more optimization solutions. ### 简介 SOFAJRaft 是一个基于 RAFT 一致性算法的生产级高性能 Java 实现,支持 MULTI-RAFT-GROUP,适用于高负载低延迟的场景。 使用 SOFAJRaft 你可以专注于自己的业务领域,由 SOFAJRaft 负责处理所有与 RAFT 相关的技术难题,并且 SOFAJRaft 非常易于使用,你可以通过几个示例在很短的时间内掌握它。 ### 目标 在 multi raft group 场景中,可能有多个 raft node 在同一个进程中并且很多都是 leader,当他们各自向自己的 followers 发送心跳时会过多的消耗 CPU 和网络 IO。例如我们可以在同一个进程内共享心跳计时器并将这些 leaders 发往同一台机器的心跳请求合并起来发送出去,以此来减少系统消耗,当然你还可以提供更多的优化方案。
Comments (
0
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Closed
Assignees
Not set
Labels
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (37)
Tags (36)
master
feat/improve-readindex
refactor/list-getter
chore/java8_unit_test
fix/update_central_url
1.4.0
feature/improve-log-cache
feat/rm-unsafe-field-updater
feat/rm-nonblocking-map-family
dependabot/maven/com.google.protobuf-protobuf-java-3.25.5
dependabot/maven/com.alipay.sofa-hessian-3.5.5
feature/improve-snapshot-reader-writer
fix/chaosSplittingTest
feat/release-v1.3.14
develop
fix/refresh-leader-missing-peer
feature/fix-heartbeat-blocking
1.3.11
fix_import
1.3.10.bugix2
1.2.7.bugfix
1.3.9.fix-log4j2
revert_739
feat_rfc_tmpl
1.3.8
fix_refresh_conf
seeflood-patch-2
seeflood-patch-1
feat/rheakv_grpc_tmp
feat/jepsen_grpc
fix/1.2.7.beta2
feat/minor-improve
jepsen_verification_rheakv
feat/upgrade_jackson
1.3.1.beta2
1.3.1.beta1
1.2.5.bugfix
v1.4.0
1.3.15.bugfix
v1.3.15
v1.3.14
1.3.13
1.3.13.beta
1.3.13-SNAPSHOT-20230315
1.3.13-SNAPSHOT
1.3.12
1.3.11
1.3.10.bugfix2
1.3.10.bugfix
1.3.10
1.3.9.fix-log4j2
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.5.Alpha1
1.3.4.bugfix
1.3.4
1.3.3
1.2.7.beta2
1.3.4.bugfix_2
1.3.2
1.3.1
1.3.1.beta2
list
1.3.0
1.2.7.beta1
1.2.6
1.2.5.bugfix
1.2.5
1.2.4
1.2.3
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(1)
Java
1
https://gitee.com/sofastack/sofa-jraft.git
git@gitee.com:sofastack/sofa-jraft.git
sofastack
sofa-jraft
sofa-jraft
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register