Hi, I want to do encryption of some specific fields in a MongoDB database with 1 million plus records. For this I was thinking of opting for a multi-process approach, forking multiple processes to perform the encryption in parallel.
My question is: how does nodeJS compare with Java in terms of performance in this aspect? Which one would be faster, and by how much? I tried to Google some performance comparisons but didn't find much.
Any help and input will be greatly appreciated, thanks.
Issac claims Node.js is faster than Java because it uses on non-blocking calls (not just non-blocking I/O) while Java web apps usually rely on multi-threading.
http://strongloop.com/strongblog/node-js-is-faster-than-java/
Videos
Hello everyone!
What Are The advantage and disadvantages of using Java(springboot) instead of NodeJS as the back end of my web application.
Thanks in advance.
I am watching the progress made towards faster runtime in node.js, and it feels that the performance advantage of java is almost gone for the average app. I am trying to think about reasons why one would now choose java over node in a new project, and i can't think of any. I would like to hear some opinions
Hey everyone,
I could really use some advice. I've been working as a frontend developer for almost 2 years now, mainly with React, React Native, and Redux. I want to level up and become a fullstack developer, so I'm diving into backend development.
Initially, I thought of learning Node.js since it uses JavaScript, which Iโm already comfortable with. But one of my seniors suggested I should consider Java because itโs more powerful and could lead to better job opportunities.
Here's where Iโm stuck:
-
Familiarity: I know JavaScript pretty well, so picking up Node.js might be easier and faster for me.
-
Learning Curve: Iโm a bit of a slow learner, and Java would be completely new territory, meaning Iโd have to start from scratch.
-
Career Prospects: While Node.js seems like the easier path, Java supposedly offers more robust capabilities and better job prospects.
For those of you who have experience with both or have made the transition from frontend to fullstack, what would you advise? Should I go with Node.js for a smoother learning experience, or should I tackle Java for potentially better career opportunities?
Thanks a ton for your help!
Anyone here from a NodeJS and Java (as in Spring/Jax-Rs) backgrounds who can share their opinions of developing RESTful APIs/microservices/cloud applications using Java frameworks compared to equivalent in NodeJS? What advantages would one have developing web ack-ends and microservice based applications in Java vs NodeJS and vice versa?
I am a .Net developer but looking to dive into a second stack mostly to make myself more marketable. I am diving into the cloud world and currently studying to acquire various certs in AWS and eventually may dive into Azure and GCP.
My goal may be to go into DevOps but I am open to other area such as cloud development, Solutions Architect/Systems Architect type roles, etc.
I do want to keep up my software skills to a degree for developing applications for various Cloud services. However, I also have been interested in looking at other avenues for developing microservices, RESTful APIs and planning on learning gRPC and GraphQL.
Even though I know all this is possible with C# and .Net and I do love C#/.Net framework, I know it limits me with the number of jobs available for me. I know learning Java eco-system can be too time consuming at htis point and NodeJs looks like a more real possibility, especially since I have a good knowledge and some experience with Javascript/Typescript.
However, I just like to know people's feelings on utilizing Java and associated web frameworks versus NodeJs. I understand next to Python, Java does dominate the market in web applications. Although , I hear this can be changing and Node's popularity is growing fast.
This is slightly related but this thread seems to have a misunderstanding.
Node is a runtime.
JavaScript is an implementation of ECMAScript. JavaScript is a language. Node takes a JavaScript program as input and translates that to C++ and runs it on the host machine.
TypeScript is a typed superset of JavaScript. TypeScript transpiles to JavaScript. That transpiled JavaScript is run by Node.
I find Node easy to work with and I build production-grade Node systems that receive 100m+ requests per day (Kubernetes infrastructure)
I know it doesn't help answer your questions much... but after several years of java web-backend with spring, I switched to node.js/graphql at the beginning of 2020.
My personal preference is java because I have deeper skill/knowledge in it, among other reasons. But at the end of the day...
I think for majority of web applications it doesn't really matter. They all work. Knowing fundamentals and good design, good data model matters a lot more.
Hi folks
I'm a prefinal University students. I like to write the server in Express JS for REST APIs and Apollo GraphQL for graphQL. I use Prisma and mongodb or PostgreSQL, for the db stuff.
But my seniors mocked me, saying are you even a coder if you use NodeJS. Such a childish tech. Use something real like Java Spring Boot.
When I ask why. They don't say anything.
Is there really something lacking which is practical. As of what is I read from sites. Node JS is good for handling multiple users at same time. I even use cluster the inbuilt lib for doing multi instance of server on threads.
Is it security, speed, memory usage. I do not know what exactly is it.
Is there really anything as such, which is practically lacking or should be done as a good practice ?
Thanks in advance.
I have 15 years of experience with Java. Is it worth switching from Java to NodeJS for a backend developer?
Is Node JS popular now?
It looks like AWS goes away from Java step by step
NodeJS is not nearly as prevalent as Java.
Is it worth it? Well, if you have 15 years experience at Java, are you growing if you take another Java job? I think part of the fun of CS is just learning something new and seeing another side of it.
I switched from Java (10 years) to Python and I enjoyed it. Now my job is mostly Python with a sprinkling of C++ and JavaScript/React.
For job opportunities? Yes.
Should I do Backend in NodeJS or Java ?
I am enrolled in a NodeJS backend course. I am also doing a full stack course, should i learn in java backend or nodejs backend ? If I learn java backend in this full stack I will have knowledge of how backend in both works or Should I do in nodejs right now and java afterwards
The full stack course has an option for me to choose from Java or NodeJS.
Also I have 45 days time, after which I have to join my company. My motive is to switch company before joining this one as it's a service based.
What should I do ?
More opportunities in Spring Boot
If you ask me. A lot of bleeding edge development is going on the backend side to. People are using go, java+ kotlin(spring boot, quarkus, micronaut, hilla, etc), rust, node.
Go is on a growing trend and is quite good while I wouldnt , for the love of my life, use JS/TS on my backend. Both Go and Node.JS are supported by serverless platforms
Rust Servers on the other hand is PRETTY SAFE (and comparatively faster than JVM languages)! But thst needs you to dabble in low level coding. Its best if youre upto it. Moreover its supported by Serverless so its fine on the cloud too.
Spring boot (and meta+ecosystem frameworks) is for enterprise level code. Wherein you need your code to be maintainable and extensible enough to interact with multiple different systems and has a huge community support and ongoing projects! Hence it is always my goto due to its time-to-deploy!
I have never met a java developer unless he/she talks badly about node and javascript in general, they see that javascript should only be inside browser , why they don't face the truth that javascript with the amazing Typescript..we can now build amazing web frontend and fabulous backend(nodejs) and even fantastic mobile apps(react native)? Javascript is moving so fast !
Which will be the best for career option ? the thing is node is really hated one of my colleague told me it has no feature that's why now i am considering that java might be better option. But i am still really to the programming in general so i could use some guidance.