aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Vs. Other web servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Vs. Other web servers" Watch "Tomcat Vs. Other web servers" New topic
Author

Tomcat Vs. Other web servers

N Rao
Greenhorn

Joined: May 17, 2004
Posts: 14
Can anybody please suggest me if Tomcat web server is enough for a web-app (JSP/Servlets) that has at least 300 concurrent users? If not, can you suggest me which of the commercially available java-enabled web servers (esp. with Servlet Containers but without EJB-support) can replace Tomcat and why?

I would appreciate, if you can let me know the comparison of standard web servers along with few parameters such as Performance, Concurrent Connections, Cost-effectiveness and so on.

Thanks in advance,
NR
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
Tomcat has no problem serving a moderate number of users - even with rather complex page generation, my on-line mock exam servlets handle most requests in less than 10 milliseconds.
Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Moving to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
Hi Bill,

Originally posted by William Brogden:
Tomcat has no problem serving a moderate number of users - even with rather complex page generation, my on-line mock exam servlets handle most requests in less than 10 milliseconds.
Bill


I have the same concern as Rao. How many concurrent users are considered "moderate"?

Joyce
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
"concurrent users" is really not the problem since servlets don't care how many people have a browser "pointed" at your server. The important figure is response speed under load of X requests handled per second.
I have done load testing using fake loads created with HttpClient and also monitored real application response time histograms for servlet generated mock exams that do a lot of object creation and manipulation. With fairly cheap hardware, more than 50 requests per second would see a slowdown.

Searching for benchmarks, I turned up this recent article. in which Tomcat seems to show up well.
Bill
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
Thanks a lot for the info, Bill.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Vs. Other web servers