• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Java Application too slow

 
Ranch Hand
Posts: 46
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
BWA HA HA HA HA HA HA! Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic