Skip to content

Releases: shihuili1218/klein

0.0.8

12 Oct 09:54
dc6d9d5
Compare
Choose a tag to compare

0.0.7

14 Aug 08:19
994c408
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.6...0.0.7

0.0.6

11 May 08:36
6333a4b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.5...0.0.6

0.0.5

31 Jan 03:30
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.3-alpha...0.0.5

0.0.3-alpha

28 Jan 11:11
f01a935
Compare
Choose a tag to compare

Content

  1. add checksum to confirm message
  2. refactor get cache instance
  3. refactor spi

PR

#82
#83

Full Changelog

https://github.com/shihuili1218/klein/commits/0.0.3-alpha

0.0.2

24 Feb 08:29
Compare
Choose a tag to compare
  • run jepsen on gitpod
  • fast elect master

0.0.1

21 Feb 07:40
Compare
Choose a tag to compare

paxos

  • 写请求、乱序协商,顺序确认
  • 读请求,使用协商log完成
  • 批量协商
  • 优化prepare阶段
  • 快照
  • 拆分Group,proposer等角色无须隔离,只需隔离instance
  • 增加Master:
    • 成员变更
    • master晋升应拥有最完整的数据(使用提案协商来选举master,如果成功晋升成master,接着推进未达成共识的提案)
    • 数据对齐
      • Master心跳触发对齐
      • 快照同步(心跳携带checkpoint、learn消息返回checkpoint)
      • 新成员加入集群,主动向master学习
    • 优化写请求(写请求只能由Master执行,避免活锁)
  • NWR

缓存

  • 读、写、等基础功能
  • 配合持久化实现LRU
  • TTL自动过期
  • 时间偏移