知识卡片
同账户暂存队列保持交易次序
针对[[修复重投打乱同账户交易顺序]],原书提出记录出错交易的账户号,并把该账户后续交易暂存到先进先出队列;先修复并处理原交易,再依次放行暂存交易。这样保留同账户顺序,其他账户仍可继续处理。代价是出错账户会等待修复;原书只给方案轮廓,没有证明跨故障恢复、重复投递或成交正确性。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-Driven Architecture Style · 查看原书依据
Any trade with that same brokerage account number would be stored in a temporary queue for later processing (in first-in, first-out, or FIFO, order).
参考来源
- 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项,单元11;源文件:`OEBPS/ch15.html`)
- 结论依据:按账户暂存与FIFO放行。
- 原始内容:Any trade with that same brokerage account number would be stored in a temporary queue for later processing (in first-in, first-out, or FIFO, order).