知识卡片
推送连接仍需恢复
推送先建立订阅连接,服务端有数据时主动发送,减少主动查询。连接丢失后仍要重连、恢复位置和去重,并控制认证、授权及慢消费者压力;推送方式本身不保证消息绝不丢失或具有硬实时上限。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-driven Systems · 查看原书依据
Push-based delivery is a communication model in which the server proactively sends data to the client without the client explicitly requesting it. This approach is in contrast to pull-based models like polling, where the client repeatedly asks the server for updates.
参考来源
- 位置:《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)
- 结论依据:原文的机制或对比支持以下核心判断:推送先建立订阅连接,服务端有数据时主动发送,减少主动查询。 本卡将相邻说明中的适用限制保留为解释。
- 原始内容:Push-based delivery is a communication model in which the server proactively sends data to the client without the client explicitly requesting it. This approach is in contrast to pull-based models like polling, where the client repeatedly asks the server for updates.