Hi,

I am building a simple application using jsp/tomcat, and I am trying to
cache most of my repetitive DB read data.

Right now I am still developing so its still not multiple users. The problem
I am facing is that my application sometimes kind of pauses and one has to
wait like few seconds before it moves ahead, BUT if u see that things are
not moving ahead (as I see in my console window), i just press any key and
the application is on its way. So I am kind of confused whats the reason
behind this pause.

The reasons can be , but I aint sure
* I am using a lot of System.out.print for debugging purposes.
* I guess since my applicaion is big too there is a lot of object generation
  and so garbage collection.
* I am trying to use a lot of cache, I store whole rows of table lets
say(100)
  and put it in the cache. Is cache management the reason. Also I would like
  to know does it hurt to use cache as best as i can.I am trying to be very
  performance conscious and so cache things and avoid DB calls.

I will appreciate any insight into this problem.

Thanks
Ritesh


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to