Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2435

Improve performance in relationship instance create/update, entity update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-alpha
    • 1.0.0
    • atlas-core
    • None

    Description

      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).

      Attachments

        1. ATLAS-2435.patch
          70 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: