Re: Tomcat Settings and Performance

2003-11-17 Thread Christopher Schultz
Jonathan, I could cluster multiple copies of Tomcat on seperate machines with a simple load balancer on the front end? I'd ratehr not go that route yet though and see if I can get it so that single machine can handle up to 250 - 300 simultaneous requests. Is there any point in clustering instances

RE: Tomcat Settings and Performance

2003-11-17 Thread Ben Ricker
On Mon, 2003-11-17 at 06:21, Jonathan Holloway wrote: > I could cluster multiple copies of Tomcat on seperate machines with a simple load > balancer on the front end? I'd ratehr not go that route yet though and see if I can > get it so that single machine can handle up to 250 - 300 simultaneous

RE: Tomcat Settings and Performance

2003-11-17 Thread Jonathan Holloway
Peter, We're using Sun OS 5.9 at present, Tomcat and JBoss run on this... The machine specs are: 1.4.Ghz proc. 512Mb RAM. Hardly a powerhouse of a machine but we can move toa dual proc. machine with 1Gb of ram if needs be. I could cluster multiple copies of Tomcat on seperate machines wit

Re: Tomcat Settings and Performance

2003-11-16 Thread Tom Parker
On Sat, 2003-11-15 at 05:30, Christopher Schultz wrote: > Steve, > > > Maybe this is common knowledge, but you know never to do this right? > > > > String x = "a" + "b"; > > > > You have to do something like this: > > > > StringBuffer b = new StringBuffer(); > > b.append("a"); > > b.append("b")

RE: Tomcat Settings and Performance

2003-11-14 Thread George Sexton
s and Addresses of Lord William Thomson Kelvin in 1891 - 1894. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 9:31 AM To: Tomcat Users List Subject: Re: Tomcat Settings and Performance Steve, > Maybe this is common knowledge,

Re: Tomcat Settings and Performance

2003-11-14 Thread Christopher Schultz
Steve, Maybe this is common knowledge, but you know never to do this right? String x = "a" + "b"; You have to do something like this: StringBuffer b = new StringBuffer(); b.append("a"); b.append("b"); Using StringBuffer vastly improves performance. Ugh! This is like saying "never use goto". In

RE: Tomcat Settings and Performance

2003-11-14 Thread Steve Sides
Maybe this is common knowledge, but you know never to do this right? String x = "a" + "b"; You have to do something like this: StringBuffer b = new StringBuffer(); b.append("a"); b.append("b"); Using StringBuffer vastly improves performance. Steve -

RE: Tomcat Settings and Performance

2003-11-14 Thread Peter Lin
Jon, what are the specs of the machine? you mentioned 1GB of ram, but what is the OS? peter - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

Re: Tomcat Settings and Performance

2003-11-14 Thread Peter Lin
from first hand experience with a couple different webservers, handling 500 active users at the same time isn't easy regardless of what you use. It doesn't matter if you use ASP, PHP, JSP or CGI. You're going to have distribute the load across a couple of systems, so that each system handles

Re: Tomcat Settings and Performance

2003-11-14 Thread Christopher Schultz
Jonathan, I've had minimal improvements changing jvm properties, I've looked at increasing the heap size to around 512Mb, there's around 1Gb of memory on the server so that should be more than adequate for tomcat. This seems like a very reasonable setting. The problem we have is that 100 users are

Re: Tomcat Settings and Performance

2003-11-14 Thread Jonathan Holloway
I've had minimal improvements changing jvm properties, I've looked at increasing the heap size to around 512Mb, there's around 1Gb of memory on the server so that should be more than adequate for tomcat. The code has been looked at and it doesn't seem to be problematic. Database access doesn't

Re: Tomcat Settings and Performance

2003-11-14 Thread Christopher Schultz
Jonathan, Does anybody know what the maximum number of users supported by a single Tomcat server is? I'm running a fairly good server with a dual processor setup and 1Gb of memory. Tomcat itself does not have a limit but there may be other practical limits that you are reaching. When i get arou

Re: Tomcat Settings and Performance

2003-11-14 Thread Remy Maucherat
Jonathan Holloway wrote: Dear All, I wonder if anyone could help with the following. I'm currently using Tomcat to host a multiple choice test system. I have between 100 - 200 people logging into tomcat and sitting a test almost simultaneously when instructed to by the test supervisor. Does any

RE: Tomcat Settings and Performance

2003-11-14 Thread Yiannis Mavroukakis
ing Tomcat 4.1.27 which will more than happily accept 100 hits on a uniproc Linux box. Good luck, Yiannis -Original Message- From: Jonathan Holloway [mailto:[EMAIL PROTECTED] Sent: 14 November 2003 09:47 To: [EMAIL PROTECTED] Subject: Tomcat Settings and Performance Dear All, I wonder

Tomcat Settings and Performance

2003-11-14 Thread Jonathan Holloway
Dear All, I wonder if anyone could help with the following. I'm currently using Tomcat to host a multiple choice test system. I have between 100 - 200 people logging into tomcat and sitting a test almost simultaneously when instructed to by the test supervisor. Does anybody know what the max