Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化连接管理 #5

Open
Corey600 opened this issue Sep 6, 2017 · 0 comments
Open

优化连接管理 #5

Corey600 opened this issue Sep 6, 2017 · 0 comments

Comments

@Corey600
Copy link
Owner

Corey600 commented Sep 6, 2017

原有方式:每次调用新建一个连接,调用结束后,连接关闭。
优化方式:每个提供者对应一个连接池,使用连接池分配的连接调用接口。每次调用单独占用一个连接资源,调用结束后释放。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant