atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Hagelberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-1388) Cache entities that are created/updated
Date Fri, 16 Dec 2016 20:05:59 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15755393#comment-15755393
] 

Jeffrey Hagelberg commented on ATLAS-1388:
------------------------------------------

[~apoorva_sharma] - We'll take a look at that when we merge these changes in.  Based on a
quick look, though, it seems that caches types, not entities.  It seems like entity caching
should be kept separate from type caching.

> Cache entities that are created/updated
> ---------------------------------------
>
>                 Key: ATLAS-1388
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1388
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: David Kantor
>            Assignee: Jeffrey Hagelberg
>
> - Cache created entities in RequestContext when they are created.
> - Update/refactor DefaultMetadataService.loadEntities() to use the cached created entities.
> - Use the cache in the following places:
> ** FullTextMapper
> ** DefaultMetadataService.onEntitiesAdded - check cache before calling DefaultMetadataService.loadEntities
> ** DefaultMetadataService.onEntitiesUpdated - check cache before calling DefaultMetadataService.loadEntities

> ** EntityResource.getEntityDefinition - check cache before calling DefaultMetadataService.getEntityDefinition
> ** EntityResource.getResponse - check cache before calling DefaultMetadataService.getEntityDefinition



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message