Maven / ArgoCD interview questions
What is the ArgoCD repository server caching strategy and how does it affect performance?
The ArgoCD Repository Server caches rendered manifests to avoid redundant Git clones and template renders on every reconciliation cycle. Understanding this cache is important for diagnosing stale manifest issues and tuning performance at scale.
What is cached:
- Rendered manifests keyed by
(repoURL, targetRevision, path, applicationSourceType, parameters). If all these inputs are identical to a previous render, the cached output is returned without re-runninghelm templateorkustomize build. - Git repository metadata (refs, commit SHAs) to avoid repeated
git ls-remotecalls. - The actual git clone is reused as a local cache on disk within the repository server pod.
Cache storage: By default, rendered manifest cache is stored in Redis. The default TTL is 24 hours. When Redis is unavailable, the repo server falls back to re-rendering on every request.
Cache invalidation: The cache is invalidated when any of the cache key components change — primarily when a new commit is pushed (changing the resolved SHA for HEAD). Webhook delivery from Git accelerates this by immediately triggering a refresh without waiting for the 3-minute poll cycle.
Configurable limits:
# argocd-cm
data:
reposerver.parallelism.limit: "10" # max parallel manifest generations
timeout.reconciliation: 180s # how often apps are reconciledAt large scale (hundreds of applications), the repository server becomes a bottleneck. Horizontal scaling is possible — you can run multiple repo server replicas behind a load balancer. Combine this with reposerver.parallelism.limit tuning to prevent OOM from concurrent Helm renders.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
