Answer the question
In order to leave comments, you need to log in
Java or Node.js for a big project?
Good day!
Now I want to learn a server-side programming language. I am now looking towards node.js and java. The tasks that I plan to perform are the work of developing a site with a large visit. As such, there will be no mathematical calculations, just a lot of queries. What server language is better to use for this? More interested in which of the languages will do better, the complexity / speed of development is not so interesting.
Now on modern sites it is fashionable to navigate pages without reloading. I understand that this is done on the client side, but still, is it possible to somehow implement this in conjunction with Java?
Answer the question
In order to leave comments, you need to log in
A lot depends on you, but here's what I can say:
Java will be faster than a node, not only because JS has no typing, but this lies in the asynchrony of JS and in the speed of execution of the mat. task and algorithms. If you have a complex algorithm that runs for 2 seconds, then the Server will be busy executing and will not be able to accept anything else. Whereas Java has multithreading. For highload sites, along with the node, you will need to use a faster language, such as C ++. Or optimize the code after.
complexity / speed of development is not so interesting
For big, direct hands, good code and competent architecture are better. If you do not know either JS or Java, then it does not matter, you will find a rake here and there.
And yes, you cannot compare a framework/platform with a programming language.
Language - any.
It all depends on your experience and the developed solution architecture for a specific project.
As such, there will be no mathematical calculations, just a lot of queriesnginx+SPA+RESTful(API)+noSQL
If you want to eventually find a job as a backend developer in your city, then it’s better to look at the number of vacancies / salary and choose.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question