Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-entity aggregation API (to be dicussed) #430

Open
fgalan opened this issue Oct 27, 2017 · 2 comments
Open

Multi-entity aggregation API (to be dicussed) #430

fgalan opened this issue Oct 27, 2017 · 2 comments
Labels

Comments

@fgalan
Copy link
Member

fgalan commented Oct 27, 2017

It has been proposed by some users to have multi-entity aggregation API. That is, instead of aggregating on an attribute of a single entity, aggregate on an attribute of a set of entity (i.e. all the entities of a given type or a list of entities).

The implication has to be analyzed in order to decise if makes sense to have an operation like that. Performance penalty could be a reason for not doing so.

@fgalan fgalan added the backlog label Oct 27, 2017
@mrutid
Copy link
Member

mrutid commented Oct 27, 2017

Along with STH /notify endpoint, remark Cygnus dependencies (in production scenarios Cygnus is in charge of provision STH Data model). So two solutions are needed.

It's also interesting to think about the necessity to "name" someway the aggregation itself, so I can ask for it, this would imply the need to implement a create aggregation api. This naming is automatic nowadays, you just need to make the right subscription.

Default integration by Type could be feasible and don't need a creation step... probably it's good enough.

@antont
Copy link
Contributor

antont commented Oct 30, 2018

I was googling for info about making multi entity queries to comet sth. Would be handy to get for example a certain attribute, or a set of attributes, for a given time, even just single values with a raw data query. Unless it's fine just to do n per entity queries for that.

I don't know about the input side, whether indeed the multi entity perspective should be taken into account there already, or could work for my case just when making a query. Have not made the data feeding side or anything with the servers in the project we are working on, we (at Playsign) are just using servers that folks in the CityIoT project at the University of Oulu have set-up and worked on to improve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants