Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Diane Collins   on Mar 04 In Java Category.

  
Question Answered By: Cais Nguyen   on Mar 04

Use a connection  pool(Most of application  server has a built-in connection pool). Then tune your connection pool so that it wouldn't need to call the DB for getting new connection during high load. If you do that, if it gives a couple of seconds to pass a connection, still is ok.
But check the times it get to run a query and pass the result for a single request and on different loads.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Delay in getting DB connection Or get search suggestion and latest updates.


Tagged: