Skip to content

Improve sync performance in gitops-engine #22499

Description

@reggie-k

After a discussion about Application Sharding at the contributors meeting, @crenshaw-dev suggested a much less complex and more immediate performance improvement, that can be achieved by the following in gitops-engine:

  1. Using protobuf instead of json serialization
  2. Performing cluster initialization using watch API instead of list

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

To Reproduce

Expected behavior

Screenshots

Version

Paste the output from `argocd version` here.

Logs

Paste any relevant application logs here.

Metadata

Metadata

Labels

component:gitops-engineIssue specific on how GitOps engine performs the sync and maintain the cluster cachecomponent:syncIssues related to the Syncing behaviorenhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions