slime-io / slime

An intelligent ServiceMesh manager based on Istio
https://slime-io.github.io/
Other
426 stars 78 forks source link

limiter: generate ef on time #344

Closed MouceL closed 1 year ago

MouceL commented 1 year ago

之前的reconcile逻辑是将对应的smartlimiter的namespace/name缓存至感兴趣列表

然后通过定时器(目前代码是30s的定时器),计算生成envoyfilter

这样的处理缺失实时性,所以本mr在reconcile中增加了对smartlimiter的实时计算

实时计算过程: