返回主题:拉取、积压与消费能力:拉得动吗

此卡片不在当前主题的阅读序列中,可返回主题继续阅读。

知识卡片

普通读书笔记卡 · 1980.z.4.b.2

确定性的输入边界

理解等级:高级

确定性是给定相同输入、逻辑与必要依赖状态时能再现输出。使用当前墙钟或查询不断变化的外部系统,会让重放遇到不同条件。时间戳、调度与迟到策略可提高一致性,但网络故障和输入完整性假设仍要明确。不能把流处理绝对无法确定作为普遍定理,关键在于需要记录和约束哪些输入。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Deterministic Stream Processing · 查看原书依据

      If you were to rewind the consumer group offsets of the input event streams to the beginning of time and start the microservice run again, would it generate the same output as the first time it was run? The overarching goal of deterministic processing is that a microservice should produce the same output whether it is processing in real time or catching up to the present time.

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第06章《Deterministic Stream Processing》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch06.xhtml;规范化段落起句:If you were to rewind the consumer group) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:确定性是给定相同输入、逻辑与必要依赖状态时能再现输出。本卡同时保留其适用条件与失败边界。 - 原始内容:If you were to rewind the consumer group offsets of the input event streams to the beginning of time and start the microservice run again, would it generate the same output as the first time it was run? The overarching goal of deterministic processing is that a microservice should produce the same output whether it is processing in real time or catching up to the present time.