G
G
geron2016-06-23 07:21:17
Java
geron, 2016-06-23 07:21:17

Should Java be used for highly loaded applications?

Hello!
I myself am a java programmer, I worked only on an enterprise, where there are no more than a couple of thousand users. There is a possibility that soon you will have to write a highly loaded web service with millions of users. Do you think it is worth using java for highly loaded services, where there are millions of users? I ask because I know that java is demanding on hardware. After all, Java has not only jvm, but also application servers, orm, and all this is demanding on servers. In general, I need to know whether it was worth using java or should I look towards PHP, Ruby, Python?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
bromzh, 2016-06-23
@bromzh

Java is much more productive than Python/PHP/Ruby. Especially if you throw out a full-fledged Application Seriver and take a simple servlet container instead. undertow , for example, weighs less than a megabyte (as a jar) and consumes 4 MB of memory at startup. Anyway, here , java is always in the top in terms of performance.

A
Alexey Ukolov, 2016-06-23
@alexey-m-ukolov

High-load projects depend much more on the architecture and algorithms than on the technology stack.
Therefore, if you know Java well - write in it, it will be easier to focus on what is really important.
And there is also a microservice architecture in which each service can be written in anything at all and can always be rewritten from scratch in a couple of days.

A
Andrey Shishkin, 2016-06-23
@compiler

A project with millions of users thinks how to save on hardware? Joska.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question