Why is servlet slow on first access?

M

Marcus Leon

We're running on Weblogic. The first request always takes a few
seconds longer than all following requests. Does anyone know why?

We pre-compile our JSPs so it's not JSP compilation time.

These servlets do data access - does it have something to do with the
DB caching data for subsequent requests?

Or is it due to the classloader having to load some classes for the
first time?

Thanks
 
E

enrique

Possibly the database connection being re-used in subsequent requests,
if you have that feature enabled.
 
W

Wibble

Class loaders, JIT compiler, jar files reads, xml configuration
files to parse, db connections, session replication.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top