How using different pipeline step size 1x, 2x, 4x, or 8x affects cost?
If cost is based on minutes running why not using always 8x?
Cost is indeed based on the minutes used.
The cost for 1x and 8x will be the same only if a pipeline runs eight times faster on a 8x instance, which is not always the case.
If you pipeline is 50% faster on an 8x instead, the total cost will be 4x.
Eg:
- A pipeline take 14 minutes on a 1x instance. You will be charged for 14 minutes.
- The same pipeline takes 7 minutes (50% faster) on a 8x instance. You will be charged 7 * 8 = 56 minutes (so, four times the cost of 14 minutes).
When building applications, having more CPU isn't necessarily better because some compilers or unit-test frameworks can't make the most of N CPUs.
I suggest you experiment with sizing to see what fits your pipeline the best. Perhaps the best cost/time ratio will be a 2x for a pipeline and 4x for another (also keep in mind that 2x will be migrated to the new architecture sometime in August)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.