Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 21st, 2012, 01:17 AM
mjmahmoudi mjmahmoudi is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Posts: 1 mjmahmoudi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 33 sec
Reputation Power: 0
Connection pool for high throughput application issue

I used C3P0 connection pool to now but get not stable behavor. I test in very kinde of environment and improvment data base options. I found today Tomcate 7 jdbc connection pool released and get it. Do anyone use it and get better performance than C3p0? (I also test boncp connection pool)
My application is very high load. My problems are:

1. after pass a hour connection pool throws "Can't Open Connection" exception.
2. sometimes I get this exception "Attempted to use a closed or broken resource" pool and when restart my connection pool(by its mbean) problem fixed
My C3P0 parameters are:
Code:
Original - Code
          initialPoolSize = 1       minPoolSize=1       maxPoolSize = 50       maxIdleTime = 20000       debugUnreturnedConnectionStackTraces = true       propertyCycle =60       acquireRetryDelay =1000       maxConnectionAge =0       checkoutTimeout =5000       acquireIncrement =1       numHelperThreads =5       acquireRetryAttempts =1       unreturnedConnectionTimeout =90       breakAfterAcquireFailure =false

I also test this parameters with serveral value but dont' perceptible changes.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Connection pool for high throughput application issue


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap