You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nikhil Bonte (Jira)" <ji...@apache.org> on 2020/10/30 12:07:00 UTC

[jira] [Resolved] (ATLAS-4008) Cache getGuid and getStatus in GraphTransactionInterceptor

     [ https://issues.apache.org/jira/browse/ATLAS-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Bonte resolved ATLAS-4008.
---------------------------------
    Fix Version/s: 2.2.0
                   3.0.0
       Resolution: Done

> 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
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: ATLAS-4008-Cache-getGuid-and-getStatus-in-GraphTrans-v1.patch
>
>
> *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)