ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5872) Replace standard java maps for partition counters with more effective data structures
Date Fri, 18 Aug 2017 16:57:00 GMT

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

Alexey Goncharuk commented on IGNITE-5872:
------------------------------------------

Ilya, thanks for the review. I've fixed the issue with prodVer. I also merged the latest changes
from master and the diff with SchemaIndexCacheVisitorImpl has disappeared as it was fixed
in the scope of IGNITE-6068.

I think it makes sense to change these maps in continuous queries as a separate ticket, otherwise,
the change will be too intrusive and hard to verify. The ticket is created: IGNITE-6114

> Replace standard java maps for partition counters with more effective data structures
> -------------------------------------------------------------------------------------
>
>                 Key: IGNITE-5872
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5872
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: 2.1
>            Reporter: Alexey Goncharuk
>            Assignee: Alexey Goncharuk
>             Fix For: 2.2
>
>
> Currently we have map of Integer -> Tuple <Long, Long> which is passed for each
cache group. This is very inefficient as at causes a lot of boxes and overheads in marshalling.
> This particular map can be replaced with a sorted primitive array.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message