skbkontur / OctoPnP

TeamCity plugin to support Octopus-based deployment process
MIT License
4 stars 1 forks source link

Make concurrency more intelligent #2

Open titusjaka opened 7 years ago

titusjaka commented 7 years ago

At this moment OctoPnP works this way:

  1. Pack all Packages in Parallel
  2. Push all Packages in Parallel.

It should work this way. Run in parallel process for every package which

  1. Pack it
  2. Push it
AndrewKostousov commented 7 years ago

Not sure that proposed workflow is really "more intelligent".

Now for instance you can use different concurrency settings for different stages. Packing stage is more CPU intensive so it is probably better to limit number of concurrent packing tasks to number of cores you have. And pushing stage is network bound so it is ok push all packages in parallel.