package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jul 27, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
seq 存取
原来用es存取seq, 发现seq的使用基本是根据 seq-number 去存取 seq, 更新和读取 last_seq, 没有搜索的要求,
换成可以kv存储更为合适.
分步骤实现:
- 操作做成接口, 修改现有实现满足接口
- 添加新的存储
- 现在是轮训数据库实现, 改成订阅last_seq更新
需求
sync 需求:
- 读last_seq (重启)
- 写last_seq (保存新的seq后)
- 写seq (保存seq)
convert:
- 读last_seq (重启,
- 订阅last_seq: 看seq是否更新
- 读seq
rpc:
- 获得: 读last_seq
Documentation
¶
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.