mysql - Glass fish connection pool not allocating connection unless it get filled? -


i have jersey web service running on glassfish 4.1 build 13, use pool min 20 connection , max 50 using jdbc driver mysql database host in server. takes while have noticed web services response time getting more expected, start digging in it, , noticed using process list in mysql side , monitoring pool in glassfish side while pool initiating new connection stops allocate requests new connection, , not happens in first initiating process, once while of connection released , new connections initiated inside pool cause latency in web service response!

any body seen that!? there solution it!?


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -