ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-3829) Use BinaryType.field() for fast affinity key resolution.
Date Fri, 02 Sep 2016 15:23:22 GMT

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

Vladimir Ozerov resolved IGNITE-3829.
-------------------------------------
    Resolution: Fixed

> Use BinaryType.field() for fast affinity key resolution.
> --------------------------------------------------------
>
>                 Key: IGNITE-3829
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3829
>             Project: Ignite
>          Issue Type: Task
>          Components: cache
>    Affects Versions: 1.7
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>              Labels: performance
>             Fix For: 1.8
>
>
> See {{CacheObjectBinaryProcessorImpl.affinityKey}} method. Currently to get affinity
key field of a regular binary object (i.e. {{BinaryObjectImpl}}), we do two heavy things:
> 1) Lookup object type from system cache to get affinity key field name.
> 2) Get that field using {{BinaryObject.field}} method.
> To avoid system cache lookup we should cache resolver affinity field names by type ID.
To speed field value resolving we should cache not names, but {{BinaryField}}.s



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

Mime
View raw message