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

feature-request: add healthchecks for mirror servers #264

Open
ericswpark opened this issue Sep 7, 2023 · 1 comment
Open

feature-request: add healthchecks for mirror servers #264

ericswpark opened this issue Sep 7, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request javascript Javascript related P3 Priority Level 3 (Low priority)

Comments

@ericswpark
Copy link
Collaborator

ericswpark commented Sep 7, 2023

Description

Mirror servers may go down from time to time. If shipper detects that a given mirror server is no longer healthy (by sending a HEAD request to a random downloadable build), it does the following:

1. Checks to see if the main server is enabled (if not, stop here)
2. Turn off "downloadable" for the affected server
3. Send an email to the administrators

Additional context

Alternate approach: show un-"downloadable" mirrors in the mirror list, but show an "offline" indicator. That way, we can immediately switch back when the mirror comes back up.

@ericswpark ericswpark added the enhancement New feature or request label Sep 7, 2023
@ericswpark ericswpark self-assigned this Sep 7, 2023
@ericswpark
Copy link
Collaborator Author

I like the client checks the health status approach a bit better. Have the client UI send a HEAD request, and if the mirror server is not available then show a crossed-out heart indicator showing that it is down.

@ericswpark ericswpark added the P3 Priority Level 3 (Low priority) label Oct 11, 2023
@ericswpark ericswpark added the javascript Javascript related label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Javascript related P3 Priority Level 3 (Low priority)
Projects
None yet
Development

No branches or pull requests

1 participant