You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/10/30 11:57:00 UTC
[jira] [Commented] (ATLAS-4008) Cache getGuid and getStatus in
GraphTransactionInterceptor
[ https://issues.apache.org/jira/browse/ATLAS-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223596#comment-17223596 ]
ASF subversion and git services commented on ATLAS-4008:
--------------------------------------------------------
Commit 7c68048fcc314d83100c7a5fc0a5b8294f62e2cd in atlas's branch refs/heads/master from Nikhil Bonte
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=7c68048 ]
ATLAS-4008: Cache getGuid and getStatus in GraphTransactionInterceptor
Signed-off-by: Nikhil Bonte <nb...@apache.org>
> 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)