知识卡片
竞价事件触发并行后续处理
原书拍卖系统教学例中,出价先由捕获处理器判断是否高于上一价;若成立,发布“出价已发生”事件,竞拍展示、出价流推送和投标人记录可分别响应。这里的“出价事件”只是后续并行处理的触发点,不能把捕获出价等同于最终赢得拍卖;原书未报告真实系统吞吐或成交结果。
结构图:
flowchart LR
A[收到出价] --> B{高于上一价?}
B -->|是| C[发布出价事件]
C --> D[更新页面价格]
C --> E[推送出价历史]
C --> F[记录投标人与出价]
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-Driven Architecture Style · 查看原书依据
When a bidder places a bid, the Bid Capture event processor receives that initiating event, determines if it’s higher than the prior bid, and triggers a bid placed event.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项,单元25;源文件:`OEBPS/ch15.html`)
- 结论依据:原书拍卖示例说明出价捕获、价格展示、流推送和审计记录等处理器的并行响应。
- 原始内容:When a bidder places a bid, the Bid Capture event processor receives that initiating event, determines if it’s higher than the prior bid, and triggers a bid placed event.