Forums

Home » Liferay Portal » English » x. Miscellaneous

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Kumar Bonagiri
Infrastructure Requirment
May 15, 2012 4:42 AM
Answer

Kumar Bonagiri

Rank: Junior Member

Posts: 35

Join Date: April 22, 2012

Recent Posts

Hi All,

Our Website has 1000 user's per day , Then how the project infrastructure has to be configured.

If No.Of people has been increased to 1500 per day then how the project infrastructure has to be configured,
please provide the required information

Regards ,
Kumar.
Hitoshi Ozawa
RE: Infrastructure Requirment
June 2, 2012 4:38 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Our Website has 1000 user's per day , Then how the project infrastructure has to be configured.


What do you mean "project infrastructure". Do you mean server hardware requirement? Or do you mean how to configure liferay so it accommodate this much users?
Linus Sphinx
RE: Infrastructure Requirment
June 5, 2012 10:41 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 89

Join Date: August 12, 2010

Recent Posts

It's a Java app server, the question is not how many hits or how many users it has really, (although they can be important), but how many simultaneous sessions you'll need to support and the answer how is in your chosen Java application server's and proxy's docs, there is nothing generic about this. What you are fighting is physics, a server of any size and capabilities can only open and close a socket so fast, when the timeout is less than the packet acknowledgement time your server is overwhelmed and for all purposes pretty much dead. To avoid that you build a second server, establish some form of load balancing with affinity and split your load. Study the parameters to your JVM controlling heap and garbage collection and understanding how they work is a real good place to start tuning, you might be able to get by just tweaking those. You don't mention if the connections are going to be HTTPS or HTTP which makes a HUGE difference, assuming with 1000 users on a single server they must be unencrypted or only a couple hundred users are on it simultaneously if it is encrypted. If your hosts are under VMware or some other hypervisor you will have to tune it for best performance practices in holding a JVM, check with the vendor, nothing generic there either.
First step is to check your stats, get some log analysis going and discover your actual requirements and measure the current server's performance to see if your tuning is helping or hurting performance, look around for a copy of something like Apache Bench or HTTP_LOAD to set a few benchmarks.