Skip to content

parameters with defaults but user forced to provide them? #5

Description

@megies

Maybe I am missing something, but the specs seem to specify default values for all parameters, even those that usually in implementations will not be left wildcarded by default. In dataselect that applies to starttime and endtime. I think, it will be hard to come up with a use case where it makes sense to leave them wildcarded (maybe some obscure very short lived temporary installment, so an extreme edge case). Naturally e.g. Earthscope will return an error message if starttime or endtime is not specified.

Maybe the specifications should also state which parameters need to be specified by the user, i.e. are without default values?

We recently had an instance of a production server dealing FDSN WS availability brought to its knees by a user sending multiple requests matching large parts of the complete DB (/fdsnws/availability/1/extent?network=BW). For sure this is also a problem of the implementation not stopping a humongous request earlier before filling up the RAM+SWAP almost completely. But I think being clearer on what parameters need to be provided by the user would be good for the specs and then the implementations following them accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions