One high-performance server with one application server or multiple application servers?

If I have a high-end server, for example, with 1T memory and an 8x4core processor ...

will it bring more performance if I run several application servers (on different JVMs), and not just one application server?

On the application server, I start some services (EAR with beans message) that exchange the message with each other.

btw, now has java 64bit memory limit? http://java.sun.com/products/hotspot/whitepaper.html#64

+3
source share
3 answers

will it bring more performance if I run several application servers (on different JVMs), and not just one application server?

There are a few things to consider:

  • . , (.. ). /, .

  • , , . , . ( , )

, , JVM - (, , , ).

+3

, , , , .

, JVM , . - JVM, , , - , .

, JVM, , , . -, - 10000 (. http://www.kegel.com/c10k.html), .

, ( " " ) , + jvm + app server. , , , .

+1

, , JVM JVM. :

  • JVM JVM, .

JVM, , , . - , , , , JVM. - , JVM . , .

However, there is one more consideration. It is better to have several physical machines , rather than one big fat box. This is reliability. If this box is disabled for any reason, it will take over all the application servers that are running inside it. The infrastructure on which many individual small physical machines are running will be less affected by the failure of one machine compared to a single box.

+1
source

Source: https://habr.com/ru/post/1739106/


All Articles