Skip to content

Commit a095e09

Browse files
committed
(FORK COMMIT) Increase TIS DB connection pool size
Addresses elevated 5xx server errors due to connection pool saturation during peak load times. TIS RDS instance size allows up to 304 concurrent connections (default). We will increase the limit and monitor via cloudwatch to see how many of those are needed. Future performance tuning might allow a higher limit, but provide faster eviction of idle connections from the pool.
1 parent a5cc885 commit a095e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cloudgene/mapred/database/util/AbstractDatabaseConnector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
public abstract class AbstractDatabaseConnector implements DatabaseConnector {
66

7-
private int maxActive = 10;
7+
private int maxActive = 25;
88

99
private int maxWait = 10000;
1010

0 commit comments

Comments
 (0)