argo-workflows icon indicating copy to clipboard operation
argo-workflows copied to clipboard

perf: Add workflow template informer to server

Open jakkubu opened this issue 5 months ago • 1 comments

Motivation

Improve performance of creating workflows with complex templateRef structure.

During template validation k8s API is called for each templateRef. For complex workflows with many refs it creates huge overhead. Let's cache such templates

Connected to issue https://github.com/argoproj/argo-workflows/issues/7418

This is a follow up PR #13633

Modifications

Added informer to the server and use it in workflow validation

Verification

I run the tests similar to the ones in 1st PR. The results are awesome - benchmarking results and details in separate comment

jakkubu avatar Sep 27 '24 13:09 jakkubu