Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Distributed processing
devdept
#1 Posted : Monday, March 4, 2019 8:46:26 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 53
Location: Italy

Was thanked: 2 time(s) in 2 post(s)
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
Remco
#2 Posted : Tuesday, March 5, 2019 6:32:53 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
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.
devdept
#3 Posted : Tuesday, March 5, 2019 8:25:29 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 53
Location: Italy

Was thanked: 2 time(s) in 2 post(s)
That makes sense. When the number of unit tests is huge, the project build time could become negligible I think.

Alberto
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.025 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download