You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After each time fetchAll (set/get) call release() method, release the connection to the pool, avoid that the script jammed causing connection occupy high problem.
The maximum and minimum number of connections configuration support.
Support small pressure automatic recovery connection.
Support graceful restart (reload).
Do a lot of optimization, although the request through the connection pool process forward, but no loss of QPS.
When the connection use out,support queue.
Simple! just change the new method and add release function (see demon),you used the tcp pool.
The connection proxy will start the ping process to monitor down list, if available will reflect to the return value of the get_disable_list(), use this function you can do some fun things,like LB.
support Read / write separate and slave load balancing
Example
step 1 move the pool.ini file to /etc/ and modify it as you need.