Final:ADR-0002 事务层设计 + README 全量重写 - #12
Draft
lixuanqun wants to merge 1 commit into
Draft
Conversation
ADR-0002(事务层设计) - 四 FSM 独立而非通用:状态名重叠但 RFC 语义不同 - 时间轮:ScheduledExecutorService + 虚拟线程派发 - 事务键 (branch, sent-by, method) + RFC 3261 magic cookie 强制 - 同步代码风格 FSM(CAS 状态迁移,无事件循环) - MessageSender 单方法 SPI 解耦 transport - 列出何时重评估 + 关键 RFC §17 行为映射 README 重写 - 完整模块结构(含 sip-gb28181 第 10 模块) - 关键决策链接到 ADR-0001 / ADR-0002 - 5 段快速上手代码:解析编码 / UDP 传输 / REGISTER / OPTIONS / GB28181 - 路线图:phase 0-5、7 标记完成,8-10 待办 - 工程化:169 测试当前规模、CI 配置、文件级约定 docs/adr/README.md:ADR 索引新增 0002 条目。 Co-authored-by: li xuanqun <793005378@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
整个待实现清单完成后的收尾:补一份事务层设计 ADR,把决策定型;重写 README 让新人 5 分钟能跑起来。
ADR-0002 — 事务层设计
7 节,覆盖:
ScheduledExecutorService而非自实现 HashedWheelTimerMessageSenderSPI 与 transport 解耦README 重写
新版面包含:
PR 链路全貌
最终状态