知识卡片
三类时间窗口
窗口把事件按时间分组。滚动窗口固定长度且不重叠,适合分小时统计;滑动窗口有长度和步长,适合过去一小时等重叠观察;会话窗口由不活跃超时划分,适合用户访问过程。可基于事件时间或处理时间,但两者回答的问题不同。窗口结果还取决于关闭与迟到更正规则,不能只定义大小就认为业务语义完整。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Deterministic Stream Processing · 查看原书依据
Windowing means grouping events together by time. This is particularly useful for events with the same key, where you want to see what happened with events of that key in that period of time. There are three main types of event windows, but again, be sure to check your stream-processing framework for more information.
参考来源
- 位置:《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;规范化段落起句:Windowing means grouping events together)
- 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:窗口把事件按时间分组。本卡同时保留其适用条件与失败边界。
- 原始内容:Windowing means grouping events together by time. This is particularly useful for events with the same key, where you want to see what happened with events of that key in that period of time. There are three main types of event windows, but again, be sure to check your stream-processing framework for more information.