Feature request : requesting VO services with mirrors
It could be great if the user could give a list of mirrors for requesting a specific VO service like this :
scs_srv = vo.dal.SCSService([ 'mirror_1', ..., 'mirror_n']) scs_results = scs_srv.search(pos=pos, radius=size)
Something like, if the first mirror does not respond (DALServiceError raised) one can ask the second etc...
I won't put mirror support directly into the service classes, but i'll think about a proxy object or something...
Just tried this with variable arguments, but without python3's keyword only arguments this won't work. And tbh i don't really like the list argument solution.
I'm not sure about the merit of letting users put this information in, but RegTAP 1.1 (so far only in WD, but implemented in our default registry at https://reg.g-vo.org/tap) has a mirror_url column in rr.interface that would let us automatically configure mirrors.
If someone puts in the necessary code for fallback query URLs in the service objects, I'll do the registry side...
in, but RegTAP 1.1 (so far only in WD, but implemented in our default
Ummm. Rubbish. Marco just corrects me that while mirror_url did indeed go in in RegTAP 1.1, what is in WD right now is RegTAP 1.2. RegTAP 1.1 is REC (and implemented also at STScI); hence mirror_url (and there are a lot of them in the Registry,
9select count(*) from rr.interface where mirror_url is not null
gives 73170 at the moment) would be available rather reliably.