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

Prioritize existing clients over accepting new #58

Open
m-ronnblom opened this issue Oct 9, 2024 · 0 comments
Open

Prioritize existing clients over accepting new #58

m-ronnblom opened this issue Oct 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@m-ronnblom
Copy link
Collaborator

The Pathfinder server should prioritize processing messages on existing clients over accepting and finishing the handshake with new clients.

With Pathfinder protocol v3 and its Pathfinder protocol-level liveness checking, attending to existing clients becomes more important, since otherwise the clients will terminate the connection and reconnect.

In a scenario where a large number clients attempt to connect at roughly the same time, expensive hand shake operations (e.g., TLS hello processing) may starve server or client-initiated track query processing, causing existing client connections to be dropped (in turn adding to the handshake load).

@m-ronnblom m-ronnblom added the enhancement New feature or request label Oct 9, 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