tomcat performance with 100 webapps
Have some one tested Tomcat with more than 100 webapps. For example e-commrece solution, without many bells and whistles - jsut shopbuilder and sopiing cart Each webapp is based on trubine/velocity/torque. Each webapp using it's own firebird database. Can I expect smooth performance on dual xeon with raid controler and lot of RAM (16G) on RedHat EAS? Niki Icygen Co. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat performance with 100 webapps
Hi, We have tomcat instances that run ~20 webapps without a problem. Beyond that, we haven't tried, but then again that's why we have tools like JMeter, no? ;) In large part this will depend on the soundness of the application. Especially if it's 100 of the same app, because then each memory leak would be multiplied by 100. Yoav Shapira Millennium Research Informatics -Original Message- From: Niki Ivanchev [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:43 AM To: Tomcat User Subject: tomcat performance with 100 webapps Have some one tested Tomcat with more than 100 webapps. For example e-commrece solution, without many bells and whistles - jsut shopbuilder and sopiing cart Each webapp is based on trubine/velocity/torque. Each webapp using it's own firebird database. Can I expect smooth performance on dual xeon with raid controler and lot of RAM (16G) on RedHat EAS? Niki Icygen Co. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat performance with 100 webapps
God save our apps from any memory leaks. Of course we will test them for this issue. And perform stress testing 20 sounds fair enought. Frankly I don't expect too much traffic per e-shop. Niki Shapira, Yoav wrote: Hi, We have tomcat instances that run ~20 webapps without a problem. Beyond that, we haven't tried, but then again that's why we have tools like JMeter, no? ;) In large part this will depend on the soundness of the application. Especially if it's 100 of the same app, because then each memory leak would be multiplied by 100. Yoav Shapira Millennium Research Informatics -Original Message- From: Niki Ivanchev [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:43 AM To: Tomcat User Subject: tomcat performance with 100 webapps Have some one tested Tomcat with more than 100 webapps. For example e-commrece solution, without many bells and whistles - jsut shopbuilder and sopiing cart Each webapp is based on trubine/velocity/torque. Each webapp using it's own firebird database. Can I expect smooth performance on dual xeon with raid controler and lot of RAM (16G) on RedHat EAS? Niki Icygen Co. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat performance with 100 webapps
Niki Ivanchev wrote: Have some one tested Tomcat with more than 100 webapps. For example e-commrece solution, without many bells and whistles - jsut shopbuilder and sopiing cart Each webapp is based on trubine/velocity/torque. Each webapp using it's own firebird database. Can I expect smooth performance on dual xeon with raid controler and lot of RAM (16G) on RedHat EAS? I recommend using Tomcat 5, since it will save a significant amount of per context resources. You should also use a global datasource, which would give you a global limit on concurrent DB requests. If all webapps use a separate DB, then it could lead to resources problems because of too many connections (but of course, I haven't tested anything). -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat performance with 100 webapps
the only way you will know is to stress test it. I would recommend doing a small test with 10 webapps and a fair amount of load. I can tell you right now if you're not using SSL/TSL hardware acceleration, that's going to be your bottleneck. 20-25 concurrent https requests will max out a 2ghz AMD athlon. Once that happens everything else slows down and performance degrades rapidly. look at the performance numbers in my article. Maybe Remmy can post his old SSL numbers from the benchmarks we ran on tomcat 4. If your shopping cart is efficient, 100 webapps won't matter. Ultimately, the concurrent requests across all webapps will be your bottleneck. After the SSL, the database will be the next major bottleneck. If you're using database sessions to keep track of the shopping cart, use JMeter to figure out the maximum concurrent queries for firebird first. hope that helps. peter lin Niki Ivanchev [EMAIL PROTECTED] wrote: Have some one tested Tomcat with more than 100 webapps. For example e-commrece solution, without many bells and whistles - jsut shopbuilder and sopiing cart Each webapp is based on trubine/velocity/torque. Each webapp using it's own firebird database. Can I expect smooth performance on dual xeon with raid controler and lot of RAM (16G) on RedHat EAS? Niki Icygen Co. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.
Re: tomcat performance with 100 webapps
Hi, I just wanted to post my info on the subject, even though I dont have 100 hosts on a single machine. We run near 60 hosts on one machine, in 10 instances of tomcat. memory usage has been the biggest problem as our application use cache:ing alot to increase performance. all of those hosts are running fairly complex CMS systems. the computer has 2 Xeon CPUs and 4gigs ram RedHat EAS. The greatest improvement on our memory problem got fixed when we changed the setup of tomcat so that it would not reload contexts and jsp pages. The memory leaks that we had been seeing (ever increasing memory usage of tomcat) stopped. But, in my opinion you should not be seeing some memory problems with 100 hosts (if you have 16g ram). I recomend the usage of several instances of tomcat, but that will be on the cost of memory (one instance seems to use around 30mb (rather basic setup) of ram, even though the profiled usage is alot less), but by doing this you will get way better manageability. I dont think I have to point out the obvious benefits of having several hosts, but one is restarting services will be alot easyer and dealing with all sorts of problems will be easyer. 100 hosts require alot of memory, but everything dependes of course on your application and traffic. This machine is taking on something around 20req/sec average, and the load is (cp from top) load average: 1,08, 1,22, 1,24 But of course cpu power or IO is usually not the bottleneck in java-server-applications. -reynir Niki Ivanchev wrote: God save our apps from any memory leaks. Of course we will test them for this issue. And perform stress testing 20 sounds fair enought. Frankly I don't expect too much traffic per e-shop. Niki Shapira, Yoav wrote: Hi, We have tomcat instances that run ~20 webapps without a problem. Beyond that, we haven't tried, but then again that's why we have tools like JMeter, no? ;) In large part this will depend on the soundness of the application. Especially if it's 100 of the same app, because then each memory leak would be multiplied by 100. Yoav Shapira Millennium Research Informatics -Original Message- From: Niki Ivanchev [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:43 AM To: Tomcat User Subject: tomcat performance with 100 webapps Have some one tested Tomcat with more than 100 webapps. For example e-commrece solution, without many bells and whistles - jsut shopbuilder and sopiing cart Each webapp is based on trubine/velocity/torque. Each webapp using it's own firebird database. Can I expect smooth performance on dual xeon with raid controler and lot of RAM (16G) on RedHat EAS? Niki Icygen Co. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat performance with 100 webapps
Pardon my ignorance but how do you share one port between multiple instances of tomcat? Are you talking launching tomcat 100 times (100 JVMs), or are you talking 100 Hosts configured in server.xml? Adam On 03/30/2004 05:28 PM Reynir Þór Hübner wrote: I just wanted to post my info on the subject, even though I dont have 100 hosts on a single machine. We run near 60 hosts on one machine, in 10 instances of tomcat. memory usage has been the biggest problem as our application use cache:ing alot to increase performance. all of those hosts are running fairly complex CMS systems. the computer has 2 Xeon CPUs and 4gigs ram RedHat EAS. The greatest improvement on our memory problem got fixed when we changed the setup of tomcat so that it would not reload contexts and jsp pages. The memory leaks that we had been seeing (ever increasing memory usage of tomcat) stopped. But, in my opinion you should not be seeing some memory problems with 100 hosts (if you have 16g ram). I recomend the usage of several instances of tomcat, but that will be on the cost of memory (one instance seems to use around 30mb (rather basic setup) of ram, even though the profiled usage is alot less), but by doing this you will get way better manageability. I dont think I have to point out the obvious benefits of having several hosts, but one is restarting services will be alot easyer and dealing with all sorts of problems will be easyer. 100 hosts require alot of memory, but everything dependes of course on your application and traffic. This machine is taking on something around 20req/sec average, and the load is (cp from top) load average: 1,08, 1,22, 1,24 But of course cpu power or IO is usually not the bottleneck in java-server-applications. -reynir Niki Ivanchev wrote: God save our apps from any memory leaks. Of course we will test them for this issue. And perform stress testing 20 sounds fair enought. Frankly I don't expect too much traffic per e-shop. Niki Shapira, Yoav wrote: Hi, We have tomcat instances that run ~20 webapps without a problem. Beyond that, we haven't tried, but then again that's why we have tools like JMeter, no? ;) In large part this will depend on the soundness of the application. Especially if it's 100 of the same app, because then each memory leak would be multiplied by 100. Yoav Shapira Millennium Research Informatics -Original Message- From: Niki Ivanchev [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:43 AM To: Tomcat User Subject: tomcat performance with 100 webapps Have some one tested Tomcat with more than 100 webapps. For example e-commrece solution, without many bells and whistles - jsut shopbuilder and sopiing cart Each webapp is based on trubine/velocity/torque. Each webapp using it's own firebird database. Can I expect smooth performance on dual xeon with raid controler and lot of RAM (16G) on RedHat EAS? Niki Icygen Co. -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]