Hello Ali, there are no absolute benchmarks for what you are looking for. The 
central theme to any performance questions invariably lead to the <A> word 
(Architecture). You need to evaluate you overall architecture from a high level 
perspective. With this said the questions then are:
* What is your planned network topology once you go to production? This 
question naturally leads to what is your hosting options? If you   have a 
datacenter and have configured and installed your own servers is the best. Next 
option is to build your servers and then co-locate. The least advantageous 
option is renting servers (serverbeach.com etc.). If you are hosting locally 
what is your upstream provider? (fat pipe) and type of connection: T1, T3, OC1, 
OC3 etc.
* Type of scaling (horizontal vs vertical)
* Invariably performance issues are rarely a result of the web container 
(Tomcat). You need to look at the developed software (dot).war that is deployed 
on TC (use JMeter or some recognized software testing tools).
* I have worked on high volume financial web applications that are running at 3 
to 4000 transactions/sec. A transaction is end-to-end a round-trip time 
starting with the HTTP connection, processing and connection to the backend DB, 
query results returned and subsequently a results web page displayed. This is a 
HTTP get, put or post transaction.
* You are hitting your TC with 30000 transactions with a ramp up speed of 10 
seconds so you are at 3000/sec. If as you say the web container is not handling 
this you still need to look at what you web application is doing.

Ultimately, using JMeter you need to look here:
http://wiki.apache.org/jakarta-jmeter/

A expert in this area is Peter Lin:
http://tomcat.apache.org/articles/performance.pdf

The JMeter has specific JSF testing reading:
http://wiki.apache.org/myfaces/PerformanceTestingWithJMeter

Ali Ok wrote ..
> Thanks David,
> 
> I mean, if I make 30000 requests in a very short time (about 10 seconds);
> Tomcat does not respond.
> I read books, tutorials, faqs and threads at maling list about Tomcat
> tuning. But I couldnt find an example server.xml file used in production or
> real test results.
> 
> So I cant understand if 30000 requests in 10 seconds is normal or not.
> 
> 
> 
> 2008/1/26, David Brown <[EMAIL PROTECTED]>:
> >
> > Hello Ali, please find included below a link URL that addresses the JSF
> > performance issue. A much more rigorous test would be to use the JMeter
> > distributed testing using the JMeter server. HTH, David.
> >
> > Ali Ok wrote ..
> > > Hi,
> > >
> > > We are building a web application with JSF. Last day I tested it with
> > > JMeter. Results are bad (I guess).
> > >
> > > Then I tried to send 30000 requests with JMeter to "Shuffle Example" in
> > > Tomcat's examples directory with a limited size of (256 MB I think)
> > memory
> > > resource given to Tomcat. This "Shuffle Example" does not query database
> > or
> > > does not make complicated operations as you know; it is very simple.
> > >
> > > Question is, what should I expect? Does it have to respond all requests?
> > Or
> > > is it normal to throw an exception about "Too many open files" (I use
> > NIO
> > > connector) and finally OutOfMemoryError and parachute-thing?
> > >
> > > After I solve this, I can go on to JSF application testing.
> > >
> > >
> > > I couldnt find documents enough about this issue. Can you send me some
> > > links?
> > >
> > > Thanks in advance.
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to