datasource - What's the difference between data source type pooled and unpooled? -
i configuring mybatis , must choose data source type pooled or unpooled. in case what's difference between data source type pooled , unpooled?
unpooled
this implementation of datasource opens , closes connection each time requested. while it’s bit slower, choice simple applications not require performance of available connections. different databases different in performance area, may less important pool , configuration ideal
pooled
this implementation of datasource pools jdbc connection objects avoid initial connection , authentication time required create new connection instance. popular approach concurrent web applications achieve fastest response.
from : mybatis v. 3.3.0 user guide
Comments
Post a Comment