Opened 5 years ago

Closed 2 years ago

#15843 closed enhancement (wontfix)

Provide a list of fallback mirrors in case of a server error

Reported by: karsten Owned by:
Priority: Medium Milestone:
Component: Metrics/Onionoo Version:
Severity: Normal Keywords:
Cc: phw Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

There are currently two Onionoo instances running, and more are being set up. If one of them fails, users have to manually switch to another instance by using an Atlas/Globe/Compass mirror that uses an Onionoo mirror that is still working.

The easy part is to configure a set of URLs and have Onionoo give them out in case of a server error. Well, not easy, but solvable.

The harder part is to make sure that Onionoo clients will be able to use this information, either by displaying alternatives, or by automatically switching to one of them.

How would Onionoo clients want to learn about fallback mirrors? In a custom JSON document, using an HTTP 3xx status code, or using some other mechanism?

Child Tickets

Change History (6)

comment:1 Changed 5 years ago by cypherpunks

Ideally clients would also work if one instance is down completely (not just failing with HTTP 500).

comment:2 Changed 3 years ago by iwakeh

Severity: Blocker
Status: newneeds_information

I think this could be part of the first release with the solution of switching/redirecting to the mirror automatically.

Thoughts?

comment:3 Changed 3 years ago by iwakeh

Severity: BlockerNormal

I didn't intend to set this to 'blocker'; reversing.

comment:4 in reply to:  2 Changed 3 years ago by karsten

Replying to iwakeh:

I think this could be part of the first release with the solution of switching/redirecting to the mirror automatically.

Thoughts?

This is probably blocking on #14201. And how would an Onionoo instance notice that it's supposed to redirect requests to the mirror?

comment:5 Changed 2 years ago by iwakeh

Hmm, isn't this a server admin issue? If Onionoo can't even send 500, it might be down.

comment:6 Changed 2 years ago by iwakeh

Resolution: wontfix
Status: needs_informationclosed

Obsolete, b/c soon we provide rotating backends.
Please reopen if I missed something.

Note: See TracTickets for help on using tickets.