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

Support TCP Connection Reuse? #93

Open
woluohenga opened this issue Jan 13, 2023 · 1 comment
Open

Support TCP Connection Reuse? #93

woluohenga opened this issue Jan 13, 2023 · 1 comment

Comments

@woluohenga
Copy link
Contributor

Now meta protocol proxy use tcp conn pool, it while cause many connections when high concurrent requests。
So can we support tcp connection reuse?

@zhaohuabing
Copy link
Member

zhaohuabing commented Mar 30, 2023

To make it clear: MetaProtcolProxy now has a connection pool for each upstream cluster and reuses idle connections in the pool when proxying the requests to upstream clusters. What this PR does is support multiplexing, thus, allow sending multiple requests to the same upstream cluster in a single connection to that cluster.

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