Git Product home page Git Product logo

Comments (2)

Jollyfant avatar Jollyfant commented on September 23, 2024

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.

Jollyfant avatar Jollyfant commented on September 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.