atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <>
Subject [jira] [Updated] (ATLAS-1527) Batch entity retrievals in DefaultMetadataService.loadEntities
Date Thu, 17 May 2018 05:43:00 GMT


Madhan Neethiraj updated ATLAS-1527:
    Fix Version/s: 0.8-incubating
      Component/s:  atlas-core

Committed to master:

> Batch entity retrievals in DefaultMetadataService.loadEntities
> --------------------------------------------------------------
>                 Key: ATLAS-1527
>                 URL:
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>            Reporter: Wojciech Wojcik
>            Assignee: Wojciech Wojcik
>            Priority: Minor
>             Fix For: 0.8-incubating
>         Attachments: rb56324.patch
> DefaultMetadataService.loadEntities() is called at the conclusion of entity creation
and update, to load the created/updated entities which are passed to the EntityChangeListener's.
The entities are being loaded one at time, because MetadataRepository does not expose a method
to retrieve multiple entities by GUID. MetadataRepository can be enhanced to provide a getEntityDefinitions()
entrypoint, and the implementation in GraphBackedMetadataRepository can batch the vertex retrievals
using GraphHelper.getVerticesForGUIDs(). This will reduce the graph calls to retrieve the

This message was sent by Atlassian JIRA

View raw message