Daily Usage Issues

Distributed processing

Started by devdept on 1,883 views

Hi There,

When using NCrunch distributed processing, is it preferable to have 5 server with 10 logical CPUs or 1 server with 50 logical CPUs for example? And why?

Thanks,

Alberto
Generally, it's better to have large chunky servers instead of a larger number of smaller servers.

This is because the build tasks need to be performed on each node in the grid. For a node to run your tests, it will first need to build your projects. Having 5 servers means that your solution will be built 5 times. This is because we don't have a clean way to distribute the build tasks, only the tests.

There are exceptions to this, but they are quite situational. For example, if you have UI-based tests that can only run one at a time on any given machine, having more nodes will give you more concurrency.
That makes sense. When the number of unit tests is huge, the project build time could become negligible I think.

Alberto

Post a reply

Log in to reply.