[ https://issues.apache.org/jira/browse/ATLAS-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223599#comment-17223599 ]
ASF subversion and git services commented on ATLAS-4008: -------------------------------------------------------- Commit 538ed8ef7689fcdc3ee294f09dfff73211c6cd3a in atlas's branch refs/heads/branch-2.0 from Nikhil Bonte [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=538ed8e ] ATLAS-4008: Cache getGuid and getStatus in GraphTransactionInterceptor Signed-off-by: Nikhil Bonte <nbo...@apache.org> (cherry picked from commit 7c68048fcc314d83100c7a5fc0a5b8294f62e2cd) > Cache getGuid and getStatus in GraphTransactionInterceptor > ---------------------------------------------------------- > > Key: ATLAS-4008 > URL: https://issues.apache.org/jira/browse/ATLAS-4008 > Project: Atlas > Issue Type: Improvement > Components: atlas-core > Reporter: Nikhil Bonte > Assignee: Nikhil Bonte > Priority: Major > > *Problem Statement:* > GraphHelper.getGuid() & GraphHelper.getStatus() causes overhead when called > multiple times in a same request. > > *Approach:* > Implement a caching mechanism in GraphTransactionInterceptor to cache the > following mappings: > *vertexID -> guid* > *vertexID -> entityStatus* > *edgeId -> status* -- This message was sent by Atlassian Jira (v8.3.4#803005)