Comments (2)
Mail by Philipp Kästli on the matter:
Dear colleagues,
note that while the second request is more compact, the first (with individual requests for individual stations)
- will provide you with more information about what parts of the request can be fulfilled, and which parts (stations) fail for what reason
(as fdsn station provides only one return code per request)- will leverage transparently any service parallelization / load balancing available at the data center (and given many codes are in obspy, load balancing is probably the easiest and most scalable way of parallelization to be expected)
Thus while I can clearly see the elegance, I am not fully convinced by the practical advantages of the collapsed queries.
Kind regards,
Philipp
from routing.
The first point raised by Philipp is important and should be addressed. We experience the same issue requesting information from a single datacenter on a network basis. AFAIK the philosophy behind the routing service is to use as many wildcards as possible. So we say that GE.* is routed to GFZ, and that request is therefore not on a station to station basis. It is unclear to me why we should we make an exception for shared networks, it is entirely arbitrary.
I do not understand the second point that is made in this context.
In any case, the requests should be condensed by us on the federator level. It is much faster to do a single request for multiple stations, than multiple requests for a single station (this is purely practical). The information on what requests fail is IMHO not irrelevant. If one request fails, the entire federated request should fail with no exceptions.
The alternative would be adding an option compact=true
to the list of supported parameters in the routing service.
from routing.
Related Issues (20)
- Suggestion: use application/json as Content-Type when format=json HOT 3
- Proposal: allow for subselection of routes to either open or closed data by URL parameter HOT 2
- CORS headers missing HOT 1
- Spatial queries for waveforms and stations HOT 26
- POST request without stream epoch defined HOT 1
- Add new JSON schema as one of the output formats HOT 1
- Extend the web service with /endpoints endpoint HOT 6
- Problem in POST request when no time window HOT 2
- doc: specification / input parameter service HOT 3
- UpdateAll.py: improve robustness in case of service failure.
- Support distributed provision of the additional node information and remove hard-coded info HOT 4
- Introduce mechanism to fill datacenter metadata dynamically HOT 2
- skip problematic files HOT 3
- Internal server error for format=fdsn
- Remove a datacenter from routing without reharvesting
- Issue with UIB harvesting? HOT 5
- Comma-separated networks (or stations, etc) not supported in POST mode
- Add support to "endbefore" and similar parameters HOT 1
- network startdate vs station startdate in routing HOT 2
- Incosistent metadata having station startdate before network startdate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from routing.