This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to make faster loading  RSS feed

 
prasanna pati
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have joined a new company today as a tester ,here I have unique problem . Its a web-based j2ee project made of JSP-servlet with struts framework . Now the only problem is that it is too slow and my job is to make it faster . how to do that ?
 
arulk pillai
Author
Ranch Hand
Posts: 3413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to first identify where the performance/memory problem is? You can use a profiling tool. You need the assistance of your developers to do this.
[ June 05, 2007: Message edited by: arulk pillai ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as mentioned, there is a lot related to 'slow pages'.

If the client has a slow connection then there is little you can do about this specifically. You can make your site faster but it will make little difference to them.

There are some one-off problems such as JSP compilation and initialising database pools etc that should be ignored. You only want the 'steady state' response of the site.

If you send lots of information in the request, then the request will take longer to get to the server.

If the server does a lot of processing it delays the response being sent.

If the response is large it takes a long time to send.

If the response includes a large number of resources it may take a long time to display in the browser.

If the layout is poorly designed it could take the browser a long time to render.

If output is DHTML it may require the whole page to be loaded before anything is displayed.

And a whole bunch more. Test things and see where the problem is.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!