You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2018/02/10 02:06:00 UTC

[jira] [Created] (ATLAS-2435) Improve performance in relationship instance create/update, entity update

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)