Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-goroutine backup/restore #8079

Closed
Hysteria23 opened this issue Aug 3, 2024 · 2 comments
Closed

Multi-goroutine backup/restore #8079

Hysteria23 opened this issue Aug 3, 2024 · 2 comments

Comments

@Hysteria23
Copy link

problem/challenge

The current BackupWithResolvers function in Velero processes backup items sequentially. This serial processing can be a performance bottleneck, especially for large Kubernetes clusters with many resources. It results in longer backup times, which can impact the overall efficiency and reliability of backup operations in large-scale environments.

Solution proposal

Modify the BackupWithResolvers function to process backup items concurrently using goroutines. This will involve:

  1. Creating a worker pool to manage the concurrent processing of backup items.
  2. Using channels to communicate between the main backup loop and the worker goroutines.

Environment:

  • Velero version (use velero version): v1.14.0
  • Kubernetes version (use kubectl version): v1.29
  • Kubernetes installer & version: kubeadm 1.29
  • Cloud provider: AWS,Azure,GCP
  • OS: Ubuntu 20.04

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • 👍 for "The project would be better with this feature added"
  • 👎 for "This feature will not enhance the project in a meaningful way"
@Lyndon-Li
Copy link
Contributor

#7628 this design will cover this requirement

@kaovilai
Copy link
Contributor

kaovilai commented Aug 5, 2024

Close as dupe of #7900 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants