WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  hi,.

    Posted 08/11/10 10:37 AM
    hi,.

    --------------------------------

    can anyone tell me what is the difference between thread pool and connection pool?

    --------------------------------

    Posted By: srinivasp at Jul 1 2009 2:00PM


  • 2.  hi,.

    Posted 08/11/10 10:45 AM
    Thread pools
    Inside the application server JVM separate thread pools are used to managed
    different types of workload. Depending on your type of application appropriate
    thread pools require careful planning. Some of them are,
    1. Web Container thread pool
    2. EJB container thread pool

    Database connection pool
    The database connection pool is another common location for bottlenecks,
    especially in data-driven applications. The default pool size is 10, and depending on the nature of the application and the number of requests, the default setting might not be sufficient. During implementation testing, pay special attention to the pool usage and adjust the pool size accordingly. The connections in the pool consume additional Java heap, so you might be required to go back and adjust the heap size after tuning the pool size. Be aware that in a clustered environment, the connection pool is a cell resource. This means that all nodes in the cluster share one pool. Adjust the pool in such way that it is large enough to handle the requests of all the servers participating in the cluster and cell.

    --------------------------------

    Posted By: Morgan at Jul 9 2009 4:25AM