I have interest it. Could you send me this paper !? Thanks in advance. > ----- Mensagem original ----- > De: Irawan [SMTP:[EMAIL PROTECTED]] > Enviada em: ter�a-feira, 25 de setembro de 2001 16:40 > Para: [EMAIL PROTECTED] > Assunto: Re: jsp app performance > > There are more than the string that may cause some bottleneck. IBM > published a white paper last time about making a good java prog (i forgot > exactly where it is, but if you go to the developer site from IBM, there > should be a link. If you cannot find it send me an email directly as I > don't check this mailing list regularly and I will try to find/send you a > copy of it) > > Just quick question ( i think this is more for response time, rather than > the memory usage), did you cache the initial context and the datasource > -- > these are part of the information from that whitepaper)? > > At 07:05 AM 9/25/01, you wrote: > >hello all, > > > >we build a application with jsp/servlets. the site makes heavy use of the > >database through jdbc datasources, that are bound to a jndi context, so > >the db shouldn't be a bottleleck. We're using the webserver resin from > >caucho tech. the web traffic is not so big (less than 20'000 pageviews > per > >day). The OS is FreeBSD4.2 on a P-III900/512ram. > > > > From time to time the (1-5 days) site is slowing down and with 'top' i > > see that the java-process(webserver) is taking more than 98% of the CPU. > > And there is no free memory left. Restart the webserver is the only > > possibilty to get all things work normal. > > > >It worked better when i replaced all strings with StringBuffers / > >append(). But the problem is still not solved. > > > >Are there any other hints / tips to speed up our application and use the > >server memory more efficient. > > > >- should I use scriptles/html in the jsp pages or try to write all the > >html-code directly to the JspWriter? > >- any other ideas? > > > >thanks for any help. > > > >regards, > >reto > > > >========================================================================= > == > >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > >JSP-INTEREST". > >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > >Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > ========================================================================== > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
