Monica Shiralkar wrote:... does creating Node.js REST API come under serverless programming?
SunilK Chauhan wrote:Node JS is offering javascript coding, so it's quit faster than Java while execution. Node js is better in performance while it comes to handle rest apis comaprig with Java.
But there are some limitations with Node JS as well as it is built for small and less complex applications only.
SunilK Chauhan wrote:Apart form the given points, Node js is also quit better in memory efficiency. Package size of Node js also smaller than Java.
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
Tim Holloway wrote:I use NodeJS when I need a quick-and-dirty app where performance under load and security are not issues. For industrial apps, I use Java. Both have their places.
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
Kanika Sud wrote:NodeJS could be used in the following scenarios
Deployment Time needs to be minimised because the NodeJS application is a server itself.
You need a lot of work done in client side scripting. Choosing a Mean Stack deployment would then make sense.
Security is not a concern.
SMB market apps
No dependence on ORM.
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
Tim Holloway wrote:
NodeJS is neither more nor less suited for client-side scripting than Java is. In fact, JavaServer Faces has extensive client-side JavaScript under the hood, in addition to support of traditional HTML client-side functions.
Deployment time for a Tomcat app is minimal. Most of the work is in building the app. Deployment of a Spring Boot server app is even faster.
No dependence on ORM? https://sequelize.readthedocs.io/en/v3/
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
NodeJS is neither more nor less suited for client-side scripting than Java is. In fact, JavaServer Faces has extensive client-side JavaScript under the hood, in addition to support of traditional HTML client-side functions.
Deployment time for a Tomcat app is minimal. Most of the work is in building the app. Deployment of a Spring Boot server app is even faster.
Kanika Sud wrote:
I am myself surprised how eager the next gen developers are for NodeJS. Could the reason be a "write everything in JavaScript approach?"
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
Kanika Sud wrote:Please also throw some light on micro instances.
Now, a server being an application itself... As opposed to one one server handling many applications. How do you think that differs or alters performance? Would love to hear technical expertise in this regard too.
Let's say you have many apps which are centrally handled... Which would you prefer?
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
Tim Holloway wrote:And because it makes you "productive"...
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
Tim Holloway wrote:Actually, Node is one of the better platforms.
The problem with getting rid of the "undesirables" is that sooner or later someone will decide that YOU are an undesirable.
