This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Application too slow

 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i'm doing a java web application,
here the problem is when i run the application it is very slow
going from one page to another page takes so much time.
Earlier it was not so slow but i don't know what happened that made it so slow.
i'm running it on localhost .
i'm using tomcat 6.0.16
and java v1.6.
please anyone help me out.
thanks
Devan
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should start by finding out what takes up that time: client-side processing, network communication, server-side processing, access of other systems (like the DB) from the server, etc. Or maybe there are other processes on your machine that eat up CPU time?
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
firstly thanks Ulf Dittmer,
actually i found that server processing is taking too much time .
But there was no problem till yesterday. today only it started and
this is getting me sick.

is there any problem wit tomcat ??
that cause the prob.But i tried wit tomcat 5.5 also stil the problem perisists.

Thanks
Devan
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at our Enterprise Performance FAQ. There is no substitute for actually measuring the performance of your application under realistic conditions.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's highly unlikely that Tomcat's performance changed from yesterday to today. I'd start by measuring the various parts of the server-side processing in order to find out which part is taking a longer time than it did before. Also look into any code and configuration changes you may have made recently.
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
thanks everyone,
i found it !.
actually i everytime was re writing a file when out is called and that is where the problem was.


anyway thanks
,
Devan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic