Add debounce mechanism for CRD event handling in CRDWatcher #24
Labels
area/crd-watcher
Category issues or PRs related to CRD watcher
good first issue
Good for newcomers
kind/feature
Category issues or PRs related to feature request.
Add debounce mechanism for CRD event handling in CRDWatcher.
CRDWatcher 处理 CRD 变更事件时需要有 debounce 机制,避免同个 subscribeTarget(a, n, k) 短时间内多次变更导致频繁触发 push。在全量推送模型中,可以有一个简单的蓄水池机制,比如累积 100ms 的变更再合并推送。
debounce 的范围以及 timeout 需要做到可配置。欢迎社区针对这个机制进行讨论。
The text was updated successfully, but these errors were encountered: