You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Hale Bales (Jira)" <ji...@apache.org> on 2021/05/14 21:35:00 UTC

[jira] [Assigned] (GEODE-9279) Make redis deltas implement Sizeable

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

Hale Bales reassigned GEODE-9279:
---------------------------------

    Assignee: Donal Evans

> Make redis deltas implement Sizeable
> ------------------------------------
>
>                 Key: GEODE-9279
>                 URL: https://issues.apache.org/jira/browse/GEODE-9279
>             Project: Geode
>          Issue Type: Improvement
>          Components: redis
>    Affects Versions: 1.15.0
>            Reporter: Hale Bales
>            Assignee: Donal Evans
>            Priority: Major
>
> In order for rebalances to work correctly, we must keep track of a close estimate of the amount of data that we have. RedisString, RedisSet, and RedisHash all inherit from RedisData, which implements Sizeable already. The current calculations for set and hash are approximately correct, but do not take into account the size of the delta that gets created when the data is stored. In order to account for that additional overhead, the delta must also implement Sizeable and keep track of its size. This will allow us to be much more accurate in our calculations of bytes in use for Set and String, potentially exactly accurate.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)