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

Copy does not multi thread blob container creation #2872

Open
TylerBurnett opened this issue Nov 22, 2024 · 3 comments
Open

Copy does not multi thread blob container creation #2872

TylerBurnett opened this issue Nov 22, 2024 · 3 comments

Comments

@TylerBurnett
Copy link

I am working on a use case where I need to replicate 75'000 containers that contain data from one blob storage account to another.
When trying to do this copy, the scanning itself (Which I have noticed to include pre-creating the containers on the dest) takes upwards of 70 hours. Watching the logs, I have noticed there is no threading that occurs in the scanning phase for containers which accounts for this massive slowdown.

Copying the data itself after the scan only takes 20 minutes. Are there any alternatives or settings I could try to speed this up?

@dphulkar-msft
Copy link
Collaborator

Hello @TylerBurnett ,

You can try using the below alternative approaches.

  1. **Pre-create the Containers: ** Utilize a custom script or tool (e.g., Azure CLI) to create all 75,000 destination containers in parallel before initiating the data copy. This can help eliminate delays caused by container creation during the transfer process.

  2. **Copy Containers Individually: ** Develop a script to copy data from one container at a time using AzCopy.

@TylerBurnett
Copy link
Author

Thanks for ideas, I ended up going with a concept similar to what you've noted where I parallelized the individual container copies. That said this comes with a variety of drawbacks which are not as ideal.

Is there any chance, this could be added to the backlog for prioritisation? I know this isn't the first or last time someone will encounter this issue.

Thanks,
Tyler

@dphulkar-msft
Copy link
Collaborator

Could you share any challenges or drawbacks you encountered while copying individual containers?
Your insights could be valuable for us.

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

2 participants