Ashutosh Mestry created ATLAS-3702:

             Summary: Entity Creation: Improve Edge Creation
                 Key: ATLAS-3702
             Project: Atlas
          Issue Type: Improvement
          Components:  atlas-core
    Affects Versions: trunk
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry
             Fix For: trunk


When creating entities with Atlas at scale, few inefficiencies were observed.

They were:
 * _GraphHelper.getAdjacentEdgesByLabel_: The existing approach results in high 
memory usage. The method could use graph api that already exists.
 * _AtlasRelationshipStoreV2.getRelationshipEdge_: This does full vertex 
comparison. This is expensive.
 * Edge label is not index. Indexing this will improve speed of edge by label 


Profile Atlas with (using metrics) to establish baseline.

Use the fixes mentioned to the places above and profile.


This message was sent by Atlassian Jira

Reply via email to