Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Have more servers in an horizontal cluster  RSS feed

 
Peter Fernandes
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

We are facing performance problem in an environment with two servers in the horizontal cluster with a 2 CPU in each box. Will the performance improve if we increase the number of servers in horizontal clustering & the CPU numbers.

Thanks in advance.

Ornelo
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before doing anything, have you profiled your application to see what is causing the performance problem? Is your performance issue CPU bound, and is it behaving as expected (i.e. is the high CPU usage down to normal operations under load, or is something exceptional happening - such as your JVms running out of memory)?
 
Peter Fernandes
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul

We have problem when the users exceeds 800 users. We have to support 2000 Users. The CPU usage is 99 %. We have the infrastructure of two application servers in horizontal clustering & 2 CPU in each machine. We have no memory problem.

Thanks in advance

Ornelo
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sign of the times. Got a problem? throw hardware at it.

The problem is that as you add interconnections, the reliability of the system can be impacted unless you also add even more stuff to ensure fail-safe/fail-soft capabilities. And the task of administering the system becomes more complex. Plus there's a certain overhead for all the interconnections, so the net throughput of the individual components gets dragged down.

Plus there's the less obvious things, like when the A/C can't keep up and the circuit breakers pop because the rack's pulling 2 dozen kilowatts.

Of course, actually instrumenting a system and seeing if there's a simple problem that can be cured without ramming in additional hardware means using brains instead of brawn and that's counter to the whole people-as-a-commodity attitude of modern-day business.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to agree with Tim and Paul. Before throwing more hardware at the situation, you need to find out where the bottleneck is. For example, you say the CPU usage is 99%. Is that all being consumed by the Java app server? Also, what is the JVM doing - is it processing the business code or spending most of its time garbage collecting? In the business code, where are the hot spots?

You cannot solve the problem if you don't know what it is. Guessing will get you nowhere.
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course, actually instrumenting a system and seeing if there's a simple problem that can be cured without ramming in additional hardware means using brains...

Well, said!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!