RE: Performance Recommendation
I have done performance testing of a real world app against Orion, Resin, Tomcat 3.3, 4.0, and 4.1 and noticed little or no difference. Certainly nothing significant enough to spend money on. -Original Message- From: Roozbeh Zabihollahi [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 6:00 AM To: [EMAIL PROTECTED] Subject: Performance Recommendation Hi, I am tomcat user, as all of readers know, tomcat is very good Jsp Container for developping and not good for production mode (cause of its performance). I installed and run 'RexIPAppServer' ,that says it has best performance, and compare Servlets it generates for JSPs and Tomcat Generated Servlets. I see 'RexIPAppServer' construct static strings that JSP page use with Static Strings. same as: static final char[] _jspText_18=\ \r\n .toCharArray(); but Tomcat doesn't distinguish (or it not want to do) between Static and Dynamic Strings and print them in dynamic way in service method. I want to ask from Tomcat Developers, that eather Tomcat Developers does not want to implement this feature or not? and, could you help me to develop this feature, because i think this is exponentialy improve performance. ^-^ Best Regards, Roozbeh Zabihollahi. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - 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]
Performance Recommendation
Hi, I am tomcat user, as all of readers know, tomcat is very good Jsp Container for developping and not good for production mode (cause of its performance). I installed and run 'RexIPAppServer' ,that says it has best performance, and compare Servlets it generates for JSPs and Tomcat Generated Servlets. I see 'RexIPAppServer' construct static strings that JSP page use with Static Strings. same as: static final char[] _jspText_18=\ \r\n .toCharArray(); but Tomcat doesn't distinguish (or it not want to do) between Static and Dynamic Strings and print them in dynamic way in service method. I want to ask from Tomcat Developers, that eather Tomcat Developers does not want to implement this feature or not? and, could you help me to develop this feature, because i think this is exponentialy improve performance. ^-^ Best Regards, Roozbeh Zabihollahi. __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Performance Recommendation
Roozbeh Zabihollahi wrote: Hi, I am tomcat user, as all of readers know, tomcat is very good Jsp Container for developping and not good for production mode (cause of its performance). I installed and run 'RexIPAppServer' ,that says it has best performance, and compare Servlets it generates for JSPs and Tomcat Generated Servlets. I see 'RexIPAppServer' construct static strings that JSP page use with Static Strings. same as: static final char[] _jspText_18=\ \r\n .toCharArray(); but Tomcat doesn't distinguish (or it not want to do) between Static and Dynamic Strings and print them in dynamic way in service method. I want to ask from Tomcat Developers, that eather Tomcat Developers does not want to implement this feature or not? There's a flag in Jasper now for that. Look in conf/web.xml. and, could you help me to develop this feature, because i think this is exponentialy improve performance. ^-^ Hmmm, well, it won't, sorry. 5% at most is what you should expect ;-) Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Performance Recommendation
I would have to concur with Remy on this one. The performance benefit is minimal and depending on how your JSP is written possibly no benefit at all. I know for a fact there are sites handling 10million+ pageviews a day using Tomcat. This is commercial sites and not some development/demo site. The developers work very hard to make make Tomcat robust and scalable. There are only 2 servlet containers that I know of first hand with better performance. But the difference was minimal. One was resin and the other was orion on a real application. In the end the performance benefit 1-5% wasn't worth the cost of a license and resin doesn't adhere to the official specs as closely as tomcat. You're better off looking at your pages and overall design to figure architectural inefficiencies. good luck. peter Remy Maucherat [EMAIL PROTECTED] wrote: Roozbeh Zabihollahi wrote: Hi, I am tomcat user, as all of readers know, tomcat is very good Jsp Container for developping and not good for production mode (cause of its performance). I installed and run 'RexIPAppServer' ,that says it has best performance, and compare Servlets it generates for JSPs and Tomcat Generated Servlets. I see 'RexIPAppServer' construct static strings that JSP page use with Static Strings. same as: static final char[] _jspText_18=\ \r\n .toCharArray(); but Tomcat doesn't distinguish (or it not want to do) between Static and Dynamic Strings and print them in dynamic way in service method. I want to ask from Tomcat Developers, that eather Tomcat Developers does not want to implement this feature or not? There's a flag in Jasper now for that. Look in conf/web.xml. and, could you help me to develop this feature, because i think this is exponentialy improve performance. ^-^ Hmmm, well, it won't, sorry. 5% at most is what you should expect ;-) Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
RE: Performance Recommendation
Howdy, I couldn't have said it better than Senor Lin. The perception that Tomcat is slow or unsuitable for production use is as wrong as it is old and unfounded. Yoav Shapira Millennium ChemInformatics -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 9:05 AM To: Tomcat Developers List Subject: Re: Performance Recommendation I would have to concur with Remy on this one. The performance benefit is minimal and depending on how your JSP is written possibly no benefit at all. I know for a fact there are sites handling 10million+ pageviews a day using Tomcat. This is commercial sites and not some development/demo site. The developers work very hard to make make Tomcat robust and scalable. There are only 2 servlet containers that I know of first hand with better performance. But the difference was minimal. One was resin and the other was orion on a real application. In the end the performance benefit 1-5% wasn't worth the cost of a license and resin doesn't adhere to the official specs as closely as tomcat. You're better off looking at your pages and overall design to figure architectural inefficiencies. good luck. peter Remy Maucherat [EMAIL PROTECTED] wrote: Roozbeh Zabihollahi wrote: Hi, I am tomcat user, as all of readers know, tomcat is very good Jsp Container for developping and not good for production mode (cause of its performance). I installed and run 'RexIPAppServer' ,that says it has best performance, and compare Servlets it generates for JSPs and Tomcat Generated Servlets. I see 'RexIPAppServer' construct static strings that JSP page use with Static Strings. same as: static final char[] _jspText_18=\ \r\n .toCharArray(); but Tomcat doesn't distinguish (or it not want to do) between Static and Dynamic Strings and print them in dynamic way in service method. I want to ask from Tomcat Developers, that eather Tomcat Developers does not want to implement this feature or not? There's a flag in Jasper now for that. Look in conf/web.xml. and, could you help me to develop this feature, because i think this is exponentialy improve performance. ^-^ Hmmm, well, it won't, sorry. 5% at most is what you should expect ;-) Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing 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: Performance Recommendation
I Think there is misUnderstandings here, first i didnt said that tomcat works ONLY for 'some development/demo site'. but I mean WHY Tomcat must not use for production mode? , as Apache, That it the best known Web Server in the world, in performance, security and many other major factors. I ask this question or recommend this option cause of I Love Tomcat, and I work with it several years. second, I think, 5% performance upgrade is very good for a version update, and i think if we use static byte arrays instead of normal strings, in normal JSPs(because they have very much static strings) performace will be more increased than 5%. anyway, JSPs is very small part of Web Site System. Application Server is very bigger part of it. then optimizing servers always increasing performance better and more significant. but I know, WebApp architecture and Design is very very important for performance. Thanx for your Reply. Roozbeh --- Peter Lin [EMAIL PROTECTED] wrote: I would have to concur with Remy on this one. The performance benefit is minimal and depending on how your JSP is written possibly no benefit at all. I know for a fact there are sites handling 10million+ pageviews a day using Tomcat. This is commercial sites and not some development/demo site. The developers work very hard to make make Tomcat robust and scalable. There are only 2 servlet containers that I know of first hand with better performance. But the difference was minimal. One was resin and the other was orion on a real application. In the end the performance benefit 1-5% wasn't worth the cost of a license and resin doesn't adhere to the official specs as closely as tomcat. You're better off looking at your pages and overall design to figure architectural inefficiencies. good luck. peter Remy Maucherat [EMAIL PROTECTED] wrote: Roozbeh Zabihollahi wrote: Hi, I am tomcat user, as all of readers know, tomcat is very good Jsp Container for developping and not good for production mode (cause of its performance). I installed and run 'RexIPAppServer' ,that says it has best performance, and compare Servlets it generates for JSPs and Tomcat Generated Servlets. I see 'RexIPAppServer' construct static strings that JSP page use with Static Strings. same as: static final char[] _jspText_18=\ \r\n .toCharArray(); but Tomcat doesn't distinguish (or it not want to do) between Static and Dynamic Strings and print them in dynamic way in service method. I want to ask from Tomcat Developers, that eather Tomcat Developers does not want to implement this feature or not? There's a flag in Jasper now for that. Look in conf/web.xml. and, could you help me to develop this feature, because i think this is exponentialy improve performance. ^-^ Hmmm, well, it won't, sorry. 5% at most is what you should expect ;-) Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Performance Recommendation
to put things in better context. Most of my work experience has been building complex applications with web front ends. In my case, most of the content is dynamic and the static html is minimal. Therefore, my experience with regard to performance is biased by the type of applications I work on. In 90% of the cases where I saw a performance issue, it was the result of how data was being fetched and cached. when I worked on a wireless platform, 90% of the site produced pages using multiple data sources. Some were third party and some local. In some cases, the data was scraped from a HTML site and presented to a variety of devices using html, hdml, wml and xhtml. I don't remember the exact performance numbers, but the query times were more than 75% of the overall request processing time (not counting sending the response). Obviously in these types of systems, trying to optimize 5% for static strings would result in no benefit in performance or scalability. On the otherhand, if the jsp pages are mostly static, then you it probably would be worth it. I tend to leave this type of optimizations as the last item, after I've exhausted all other options. peter Roozbeh Zabihollahi [EMAIL PROTECTED] wrote: I Think there is misUnderstandings here, first i didnt said that tomcat works ONLY for 'some development/demo site'. but I mean WHY Tomcat must not use for production mode? , as Apache, That it the best known Web Server in the world, in performance, security and many other major factors. I ask this question or recommend this option cause of I Love Tomcat, and I work with it several years. second, I think, 5% performance upgrade is very good for a version update, and i think if we use static byte arrays instead of normal strings, in normal JSPs(because they have very much static strings) performace will be more increased than 5%. anyway, JSPs is very small part of Web Site System. Application Server is very bigger part of it. then optimizing servers always increasing performance better and more significant. but I know, WebApp architecture and Design is very very important for performance. Thanx for your Reply. Roozbeh - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
Re: Performance Recommendation
Hi I see feature 'genStrAsCharArray' in Tomcat 5. sorry, I searching for it in Tomcat 4, I found it in Tomcat 5. Sorry for last mail. Tanx a lot __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]