You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/09/02 15:24:20 UTC
[jira] [Closed] (IGNITE-3829) Use BinaryType.field() for fast
affinity key resolution.
[ https://issues.apache.org/jira/browse/IGNITE-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov closed IGNITE-3829.
-----------------------------------
> 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)