Akai
Akai
### OSPP开源之夏官网课题链接: https://summer-ospp.ac.cn/org/prodetail/2395a0390?list=org&navpage=org ### 背景: JRaft是一个基于RAFT一致性算法的生产级高性能Java实现,它运行过程分为两个阶段,即Leader选举和日志复制。在原始的RAFT算法中,Leader选举和日志复制都需要获得多数派成员的支持。而NWR模型则可以在动态调整一致性强度的场景中使用,它需要满足W+R>N,以保证强一致性。JRaft将RAFT和NWR结合起来,使得用户可以根据不同的业务需求来动态调整Quorum的数量。例如,在一个写多读少的场景中,用户可以将多数派的数量从3调整为2,以降低达成共识的条件,从而提高写请求的效率。同时,为了保证RAFT的正确性,写Quorum的调整需要付出代价,即读Quorum的数量也需要相应调整。JRaft支持成员变更,因此用户可以配置(0,1]范围内的小数来计算W和R的具体值。通过使用JRaft,用户可以根据自己的业务需求来灵活地调整一致性强度,使得分布式系统在不同场景下都可以获得最佳的性能和正确性。 ### 项目产出要求: 1. 为 JRaft 实现自定义 Quorum 动态调节 Quorum 的参数 2. 为自定义 Quorum 的场景增加 Jepsen Case。 ### 难度: 进阶 ### 导师: 刘源远 [[email protected]](mailto:[email protected]) ###...
RocketMQ-Spring currently supports the 4.X remote processing SDK. We also need to make RocketMQ-Spring support the 5.0 gRPC SDK. My job is to integrate the 5.0 gRPC SDK. I will...
add flexible raft jepsen test result archives
### Is Your Feature Request Related to a Problem? Rocketmq currently supports Lmq and Rocksdb respectively, but when Lmq and Rocksdb are enabled at the same time, consumption failure will...