You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current design has these relations saved independenty to unique object.json files. So, for every link we have:
ObjectA.son <-> Relationship.json <-> ObjectB.json
- other props - Role - other props
this is a very flexible solution, supporting many-to-many relationships and also relationship properties (e.g ROLE) . The price is that the extra file read/writes make certain API operations overly slow and IO intensive.
Proposed:
ObjectA.json <-> ObjectB.json
- relatedTo [(objectID, Role)] - relatedTo [(objectID, Role)]
- other props - other props
Snags:
as currently the Relationship object is a graphql Node, so what do we have that relies on the abilitiy to resolve Node id? If nothing then there's no client impact
old data will need to be migrated
now to test the stability and actual performance impacts of this change
The text was updated successfully, but these errors were encountered:
chrisbc
changed the title
Optimise: simplify file structure used for thing_relation_data and file_relation_data
Optimise: simplify file structure used for file_relation_data
Dec 19, 2021
The current design has these relations saved independenty to unique object.json files. So, for every link we have:
this is a very flexible solution, supporting many-to-many relationships and also relationship properties (e.g ROLE) . The price is that the extra file read/writes make certain API operations overly slow and IO intensive.
Proposed:
Snags:
The text was updated successfully, but these errors were encountered: