ember-nexus / api

Knowledge Graph API
https://ember-nexus.github.io/api
GNU Affero General Public License v3.0
9 stars 1 forks source link

Improve performance by switching query direction? #252

Open Syndesi opened 4 months ago

Syndesi commented 4 months ago

Currently all security and access related queries start with the users and then try to find a path to the element(s), which might be an expensive operation, as on average every node has many children. The opposite direction however should be more performant, as most nodes only have a single parent element.

This ticket requires the following tasks: