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

Notification

Icon
Error

NCrunch grid node on linux
Tp-de
#1 Posted : Friday, November 15, 2024 7:19:07 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/15/2024(UTC)
Posts: 2
Location: Germany

Thanks: 2 times
Hello,

At the end of 2021 the status was that this was not possible.
"There is currently no option to run the NCrunch grid node on linux."
Source: https://forum.ncrunch.net/yaf_postsm15902_Experiences-Advice-about-setting-up-an-Azure-VM-as-grid-node.aspx#post15902

With NChrunch V5 and JetBrains Rider Support, a part has apparently already been ported to .Net Core

(
"Because of the need to host our engine under .NET6 to work with the Rider backend"
and
"It's expected that the next version of Visual Studio (2024?) will be running on .NET 8 or .NET 9, so we'll need to similarly host our engine in a way that includes the above constraints. This means that our Rider support has feature parity with the next version of VS."
Source: https://blog.ncrunch. net/2024/02/default.aspx
)

Would it now be possible to run the grid nodes with (e.g. .NET 8) on Linux?

Maybe in a (Docker) container?

Of course, only “.NET-core” and later versions run under Linux.

Since it is a "new" environment I think this limitation is not a problem.
Ultimately, the entire .Net world is on the way to becoming more platform independent.
And this change would also be compatible with Windows servers.

As a developer using NChrunch, you of course have to make sure that Pratform-specific code runs on appropriate nodes.

Interested greetings from Germany
Thomas
Remco
#2 Posted : Friday, November 15, 2024 7:39:49 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Thomas,

Thanks for posting. Although the tech has certainly moved and the porting of the engine to .NET6 has made it easier to move things towards linux, this unfortunately still does not look to be achievable given the present state of affairs.

Even though most of NCrunch is in theory cross platform, there is still a ton of integration with Win32, particularly around areas such as process management and IPC. The maintenance burden has also become much higher now that we support two IDEs, both of which receive regular updates.

It's not always easy to put the maintenance cost of NCrunch in perspective, but I'll try. Imagine you have over half a million lines of code (significant parts of which are highly complex and performance critical), and you need to cross compile it to .NET Framework 3.5, .NET Framework 4.0, .NET Core 1.1 and above, and .NET 6.0. Then imagine that code needs to run under 7 versions of Visual Studio and a grid node service and console tool, plus integrate with a JVM based set of components to allow hosting under the latest version of Rider, and be tested on every MS operating system released in the last 18 years.

It gets a bit silly to be honest. Supporting linux would extend all of that to not just targeting the linux platform but also doing QA on the most common versions of linux being used (along with adapting to any kernel updates on the way). For a billion dollar software company this wouldn't be a problem, but it's just me on the project right now. As much as I might want it myself, linux support would be a bridge too far.
1 user thanked Remco for this useful post.
Tp-de on 11/17/2024(UTC)
Der-Albert.com
#3 Posted : Saturday, November 16, 2024 10:38:56 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
Remco;17718 wrote:
It's not always easy to put the maintenance cost of NCrunch in perspective, but I'll try. Imagine you have over half a million lines of code (significant parts of which are highly complex and performance critical), and you need to cross compile it to .NET Framework 3.5, .NET Framework 4.0, .NET Core 1.1 and above, and .NET 6.0. Then imagine that code needs to run under 7 versions of Visual Studio and a grid node service and console tool, plus integrate with a JVM based set of components to allow hosting under the latest version of Rider, and be tested on every MS operating system released in the last 18 years.


Just my Two Cents ... cut the range supported legacy products.

If someone is still rocking Windows 7, and Visual Studio 2010 or any other unsupported Version of something, they will likely also be fine with an old Version of NCrunch.
2 users thanked Der-Albert.com for this useful post.
Tp-de on 11/17/2024(UTC), GlobalConcepts on 11/17/2024(UTC)
Tp-de
#4 Posted : Sunday, November 17, 2024 6:46:04 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/15/2024(UTC)
Posts: 2
Location: Germany

Thanks: 2 times
Der-Albert.com;17719 wrote:
Remco;17718 wrote:
It's not always easy to put the maintenance cost of NCrunch in perspective, but I'll try. Imagine you have over half a million lines of code (significant parts of which are highly complex and performance critical), and you need to cross compile it to .NET Framework 3.5, .NET Framework 4.0, .NET Core 1.1 and above, and .NET 6.0. Then imagine that code needs to run under 7 versions of Visual Studio and a grid node service and console tool, plus integrate with a JVM based set of components to allow hosting under the latest version of Rider, and be tested on every MS operating system released in the last 18 years.


Just my Two Cents ... cut the range supported legacy products.

If someone is still rocking Windows 7, and Visual Studio 2010 or any other unsupported Version of something, they will likely also be fine with an old Version of NCrunch.


I think along the same lines ;-P

And to reduce maintenance costs, at least for the grid nodes.
A (Linux) container image for those who don't need Windows and only the latest versions of Windows :-P
I think if you reduce the possible environments (for grid nodes), maintenance costs can be reduced.

Thanks for the feedback.
I hope I can convince my employer to use NCrunch even without Linux.

Thomas
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.050 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download