|
I think the scaleability argument surrounding Node versus Java (typically)is a bit of a red herring.
With Node's single thread approach, you have to be very careful indeedthat you don't block the thread and that you handle exceptions properly,
In my view the only compelling reason to use Node for the backed is thatit gives you the ability to write the frond-end and back-end in the same
I think the scaleability argument surrounding Node versus Java (typically)
is a bit of a red herring. The perceived issue with Java is that, because
it uses a threaded model, and each thread has some memory overhead
associated with it, scaling to support many thousands of simultaneous
connections get very expensive in terms of resources. While this is true,
and clearly an issue if you are Facebook or Netflix, I doubt that many IBM
i applications would come anywhere near that. On the other hand, using
threads does have some clear advantages; a poorly performing or failing
piece of code will not impact the rest of the application for example. With
Node's single thread approach, you have to be very careful indeed that you
don't block the thread and that you handle exceptions properly, otherwise
the entire application is going to get stuck. Personally, I think for the
typical sized IBM i application the advantages of the threaded model
outweigh the perceived scalability benefits of using Node. In my view the
only compelling reason to use Node for the backed is that it gives you the
ability to write the frond-end and back-end in the same language and even
share common code between the two.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.