1 Reply Latest reply on Jul 12, 2006 1:38 AM by Renier Breytenbach

    JBOSS Pooling

    Renier Breytenbach Newbie

      I use to use individual connections to connect from our JSP pages to Postgresql. Then we setup a pool in jboss in postgres-ds.xml, in my deploy directory. We use a datasource also setup in JBOSS, used in our JSP pages.
      But our stress testing results show that with pooling its about 10% slower than without pooling. What can I configure to make it faster?
      Here is what I have setup so far:

      <min-pool-size>5</min-pool-size>
      <max-pool-size>20</max-pool-size>
      <blocking-timeout-millis>50000</blocking-timeout-millis>
      <idle-timeout-minutes>15</idle-timeout-minutes>