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

Naive proxy from client to owner node #349

Open
chasers opened this issue Jun 3, 2024 · 0 comments
Open

Naive proxy from client to owner node #349

chasers opened this issue Jun 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@chasers
Copy link
Contributor

chasers commented Jun 3, 2024

Currently if a client is connected to a Supavisor node which does not own the pool there is communication with the pool processes which happen over Erlang distribution. With Erlang distribution there is only one TCP connection between nodes. On very busy clusters sometimes this can cause added latency.

We should instead create a TCP connection per client to the pool owner node to put client traffic on their own connections.

When a connection comes into a node which does not own the pool, a naive proxy should route traffic to pool owner node.

@chasers chasers added the enhancement New feature or request label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant