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

Better connection management strategy with netty support #123

Open
bruceleexiaokan opened this issue Dec 18, 2018 · 1 comment
Open

Better connection management strategy with netty support #123

bruceleexiaokan opened this issue Dec 18, 2018 · 1 comment

Comments

@bruceleexiaokan
Copy link

The current connection management behavior looks like always trying to find an idle connection for a new request. If there's no idle connection and the max connection threshold reaches, the client will try to create a new one instead of reuse existing one. It will cause problem of fast connections & disconnections, especially for TLS connection, the cost of connection is very high. We need a different connection management, which can reuse the existing connection even the response may not be returned. Netty can easily support it, but need to enhance the client logic to support the new connection management strategy.

@BrianNichols
Copy link
Member

Sharing a connection between multiple concurrent transactions is on our road map, but it requires protocol changes that affects the server. When the server team gets some free time, this project will be addressed.

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

No branches or pull requests

2 participants