We’re deploying raster images for the mapping component of our app using Octopus Deploy, but Octopus is taking a very long time (over 10 hours) to deploy our packages of raster images (they contain over 5 million tile images).
Do you have any suggestions to speed things up? I was thinking of perhaps making the package contain a single zip file, and then a post-deployment step does the unzipping?
This sounds like an interesting problem to have. Can I ask a few questions so we can work out the best way that we can get these files to disk? Are you able to let me know the (rough) size of the package, and a rough size of each individual file? We would also love to know if it’s faster extracting the files outside of Octopus (as it shouldn’t be).
One option that came up straight away would be to use the Transfer a package step, then you could perform the extraction yourself (either manually or by triggering a script to do the job for you).
If you can give us as much context as possible that would be greatly appreciated!
Thanks Anthony, I look forward to hearing from you shortly,
The biggest package is 4.7Gb and has ~5 millions files, with each file only a few hundred bytes each.
Thanks for the tip on the Transfer a package step. I’ll give that a try now. I’ve timed using 7zip to extract the files and it is around 1hr 41 mins on my local machine.
Just wanted to check in on how you were going, is the Transfer a package step working out for you? Happy to dig a bit deeper into performance if needed.
You can indeed disable Delta on a per project basis, you can find the details on how to do that here.
I suspect that Delta is falling over on the number of files (and there small size) in your package, let me know if you want me to look into this further for you.