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

[FeatureRequest] Fallback server option #1562

Open
Timmyfox opened this issue Oct 27, 2022 · 2 comments
Open

[FeatureRequest] Fallback server option #1562

Timmyfox opened this issue Oct 27, 2022 · 2 comments

Comments

@Timmyfox
Copy link

Considering how frequently the main server has been going down and having issues lately, perhaps the “SponsorBlock Server Address” setting could be be amended with fallback options?

This way, the user can specify one or more mirrors which can be used as fallback in the event that the primary server gives an error.

For example, let's say the following are specified:

  • Default primary server https://sponsor.ajay.app
  • Secondary server https://example.foo.bar (mirror)

Here it will first check the primary server just as before. But if there is an error returned in trying to retrieve the data, the extension can then check the secondary example.foo.bar server, which is acting as a mirror, and hopefully be able to retrieve the data from there instead.

One or two additional servers to be enough but more shouldn't hurt. The field(s) would probably be blank/disabled by default unless you wish to provide an official fallback mirror, my thinking is more to allow more savvy users to host or provide their own mirrors, or choose an existing 3rd party mirror, as a fallback instead of replacing the default server.

@Timmyfox Timmyfox changed the title Fallback server option FEATURE: Fallback server option Oct 27, 2022
@Timmyfox Timmyfox changed the title FEATURE: Fallback server option [FeatureRequest] Fallback server option Oct 27, 2022
@lewisdoesstuff
Copy link

I've just submitted PR #1572 that adds this, so you can build it from my branch in the meantime :)

@ccuser44
Copy link

Even better.

If we had a few servers at different geographical locations and the extension would use the closest one.

This would be great for load balancing.

Like for example:

  • Netherlands
  • Poland
  • USA
  • Brazil
  • Singapore
  • India
  • South Africa

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

3 participants