Madhan Neethiraj created ATLAS-2435:
---------------------------------------
Summary: Improve performance in relationship instance
create/update, entity update
Key: ATLAS-2435
URL: https://issues.apache.org/jira/browse/ATLAS-2435
Project: Atlas
Issue Type: Bug
Components: atlas-core
Affects Versions: 1.0.0-alpha
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
While handling create/update of relationship instances, lookup to retrieve
vertex of end-point entities is performed multiple times. This overhead can be
avoided by updating the flow to pass the vertices retrieved earlier.
Also, entity update operation compares existing attribute values with incoming
values - to determine if update call indeed makes any changes at all. This
comparison can be improved by having AtlasType support operation
areEqualValues(Object val1, Object val2).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)