# J2EE v/s NodeJS for real time applications

**URL:** <https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796>\
**Category:** General Discussion\
**Created:** [April 21, 2018, 4:52am UTC](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796 "2018-04-21T04:52:47Z")\
**Posts on this page:** 6\
**Page:** 3

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [May 10, 2018, 3:55am UTC](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796/41 "2018-05-10T03:55:46Z")

</div>

> [@R.Alamsha](#):
>
> How many million jobs do you think Google Duplex will kill?.

AI is not about killing jobs. Its more about improving efficiency/ accuracy/ avoiding human errors. Humans can make mistakes especially if its repetitive job requiring lot of thinking every time. Computers love to do the repeat job over and over again! Humans can do more creative work like art and music etc!

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [April 19, 2019, 7:43pm UTC](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796/42 "2019-04-19T19:43:37Z")

</div>

I cannot see why C# isn’t the first alternative for everyone. JavaScipt is not the solution. It has it’s place as a functional language but not a Java replacement. .net and .net core have what Java did, and more, without the baggage. It is free (why did OP say it wasn’t). It is cross platform. dotnet core is light and faster than NodeJS. But it doesn’t mean you can’t use both together.

> **[Download .NET (Linux, macOS, and Windows)](https://dotnet.microsoft.com/download)**
>
> Free downloads for building and running .NET apps on Linux, macOS, and Windows. Runtimes, SDKs, and developer packs for .NET Framework, .NET Core, and ASP.NET.

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [April 19, 2019, 7:50pm UTC](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796/43 "2019-04-19T19:50:04Z")

</div>

What about .net is not freely available?

> **[dotnet/core](https://github.com/dotnet/core)**
>
> Home repository for .NET Core. Contribute to dotnet/core development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [April 20, 2019, 3:56pm UTC](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796/44 "2019-04-20T15:56:30Z")

</div>

What is the footprint of .NET? I think its even bigger than JVM. Node is 15MB!  
Now a days languages are controlled by organizations(C# by MS, JAVA by oracle, JS by google etc), they are not languages by classical definitions and standards like earlier days.

---

<div class="post-metadata">

**Author:** ![ecujak](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@ecujak](https://forum.inductiveautomation.com/u/ecujak)\
**Post date:** [April 21, 2019, 12:26pm UTC](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796/45 "2019-04-21T12:26:06Z")

</div>

This article is very old and dotnet core is even better now. But if covers how core is faster and uses less resources.

> **[.NET Core or Node.js? \[We increased throughput by 2,000%\] | Raygun Blog](https://raygun.com/blog/dotnet-vs-nodejs/)**
>
> We'll walk you through how by changing Node.js to .NET Core we went from 1,000 requests per second per node to 20,000 requests per second.

More users reporting unexpected finding that core is faster than node.

> <https://stackoverflow.com/questions/43920942/unexpected-outcome-of-node-js-vs-asp-net-core-performance-test>

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [April 22, 2019, 4:42am UTC](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796/46 "2019-04-22T04:42:47Z")

</div>

I think .NET works on a thread pool model to serve clients like J2EE. Response per client will obviously be better once a dedicated thread is established per client. In NodeJS the response per client has an overhead of identifying socket connection per client and doing the task requested by it on the server. So we may not be comparing things at a level playing ground. Application development on nodejs is a paradigm shift compared to threaded servers. they are two different animals. Internal structure of nodejs application is completely different than .NET or J2EE. One needs to also see the requirements of application, e.g. real time or OLTP or data based intensive or number of concurrent users, peaking etc. I am sure [AS.NET](http://AS.NET) will be very developer friendly with MS tools like visual studio for OLTP and data based centric application. For real time applications like SCADA which doesn't need millions of clients, perhaps it may be under utilizing all the capabilities of [ASP.NET](http://ASP.NET)

Of course its good to have and explore alternative solutions.

[Previous page](https://forum.inductiveautomation.com/t/j2ee-v-s-nodejs-for-real-time-applications/17796.md?page=2)
