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

Separate BackendFetcher from HealthCheck #450

Open
djshow832 opened this issue Jan 13, 2024 · 0 comments
Open

Separate BackendFetcher from HealthCheck #450

djshow832 opened this issue Jan 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@djshow832
Copy link
Collaborator

Development Task

Currently, BackendFetcher fetches the backend list every 3 seconds, together with health check. When fetching backends fails, it infinitely retries.

However, TiProxy doesn't need to fetch the backends so frequently, especially when there are tens of TiProxy and PD becomes the bottleneck, TiProxy may take more time to fetch the backend list, delaying health check. For scale-in, TiProxy can detect it from health check. For scale-out, TiProxy doesn't need to detect it so in time.

@djshow832 djshow832 added the enhancement New feature or request label Jan 13, 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