Z
Z
Zheka Dzecina2016-01-08 00:19:50
JavaScript
Zheka Dzecina, 2016-01-08 00:19:50

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

6 answer(s)
A
Anton Natarov, 2016-01-08
@Zhe1ka

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.

V
vitaliy2, 2016-05-05
@vitaliy2

complexity / speed of development is not so interesting

If the complexity / speed of development is not so interesting, I can advise writing in assembler.

F
FoxInSox, 2016-01-08
@FoxInSox

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.

X
xmoonlight, 2016-01-08
@xmoonlight

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 queries
nginx+SPA+RESTful(API)+noSQL

S
sivabur, 2016-01-12
@sivabur

JAVA

A
angry_cellophane, 2016-01-08
@angry_cellophane

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 question

Ask a Question

731 491 924 answers to any question