Database long connection short connection


When the case of frequent communication with the data, and no high concurrency, choose a long connection.

There are many persistent connections, and many sleep state when the connection is, choose a short connecting save more resources.


Guess you like

Origin www.cnblogs.com/jrri/p/11898969.html