ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Vinogradov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-11584) Implement batch insertion of new cache entries in FreeList to improve rebalancing
Date Fri, 05 Jul 2019 09:24:00 GMT

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

Anton Vinogradov commented on IGNITE-11584:


Started the review. 
Will communicate [~xtern] privately to increase the review speed.
Once we'll finish, final review from expert will be required.

> Implement batch insertion of new cache entries in FreeList to improve rebalancing
> ---------------------------------------------------------------------------------
>                 Key: IGNITE-11584
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11584
>             Project: Ignite
>          Issue Type: Sub-task
>    Affects Versions: 2.7
>            Reporter: Pavel Pereslegin
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: iep-32
>             Fix For: 2.8
>          Time Spent: 20m
>  Remaining Estimate: 0h
> Main goals:
>  * Implement batch insert operation into FreeList - insert several data rows at once
>  * Use batch insertion in the preloader
> Implementation notes:
>  # Preloader cannot lock multiple cache entries at once, because this may lead to a deadlock
with concurrent batch updates. Therefore, it pre-creates batch of data rows in the page memory,
and then sequentially initializes the cache entries one by one.
>  # Batch writing of data rows into data pages uses the free list as usual because other
approaches increase memory fragmentation (for example, using only "reuse" or "most free" buckets).
>  # Eviction tracker assumes that only data pages with "heads" of fragmented data row
are tracked, so all other fragments of large data row should be written on separate data pages
(without other data rows which may cause page tracking).

This message was sent by Atlassian JIRA

View raw message