Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

MSDeploy is excruciatingly slow.

As in, it has taken our build /deployment process from 3.8 minutes to 15.

Is there anyway to speed this up? The publish method we are using is WMSVC.

share|improve this question
    
How large is the deployment package? What providers are you including? –  Richard Szalay Aug 16 '12 at 23:32
    
@RichardSzalay: About 10MB. Not sure what you mean by what providers I'm including. –  Chris Lively Sep 12 '12 at 13:58
    
In the output log, does it look like it's deploying the entire site even though not much has changed? If so, see if the useCheckSum option mentioned in my answer helps. –  Richard Szalay Sep 12 '12 at 22:50
add comment

1 Answer 1

Without knowing more about your configuration (which MSDeploy providers/settings your using), I can only provide vague advice.

If your deployment time has increased, it's possible that the files are having their last modified timestamps updated everytime. Since this is the default mechanism MSDeploy uses to determine whether the file should be uploaded, it would cause your entire application to be deployed everytime.

If that sounds right, you can switch to checksum-based syncing by specifying the -useCheckSum command line argument.

share|improve this answer
    
It's worth noting that i've seen a lot of deployment pipelines slow down by using -usechecksum so it might not always be the ultimate speed saver :-) –  Doug Oct 20 '13 at 7:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.