知识卡片
事件推荐分离采集与展示
浏览与加购生成行为事件,流处理按用户维护近期状态并计算推荐,再把结果交给展示链路。这样可独立扩容采集和计算,但消息系统不能证明推荐有效;还需衡量延迟、数据质量和业务结果。浏览器也不能被默认视为直接接入内部broker。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-driven Systems · 查看原书依据
Capturing user events: Every time a user interacts with a product on your e-commerce platform, for example, viewing a product page, adding an item to the cart, an event is generated and published to a Kafka topic called user-interactions.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第06章《Event-driven Systems》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch06.xhtml)
- 结论依据:原文的机制或对比支持以下核心判断:浏览与加购生成行为事件,流处理按用户维护近期状态并计算推荐,再把结果交给展示链路。 本卡将相邻说明中的适用限制保留为解释。
- 原始内容:Capturing user events: Every time a user interacts with a product on your e-commerce platform, for example, viewing a product page, adding an item to the cart, an event is generated and published to a Kafka topic called user-interactions.