kedacore/keda

Refactor and optimize the fallback logic

开放

#5,359 创建于 2024年1月10日

 (3 条评论) (1 个反应) (0 位负责人)Go (1,457 个派生)auto 404
help wantedstale-bot-ignore

仓库指标

星标
 (10,372 个星标)
PR 合并指标
 (平均合并 8天 8小时) (30 天内合并 94 个 PR)

描述

Proposal

Before we support parallel request for metrics, we calculated the fallback one by one after each metrics.

After supporting the parallel requesting, we are using the same fallback approach just iterating over all the metrics sequentially to calculate the fallback. As now we have all the info to calculate the fallback with all the metrics at once, we should optimice this process, reducing also the underlying request to k8s api

贡献者指南