You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:46:01 UTC

[jira] [Closed] (GEODE-9301) Make RedisHash's measurement of bytes in use more accurate

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

Owen Nichols closed GEODE-9301.
-------------------------------

> Make RedisHash's measurement of bytes in use more accurate
> ----------------------------------------------------------
>
>                 Key: GEODE-9301
>                 URL: https://issues.apache.org/jira/browse/GEODE-9301
>             Project: Geode
>          Issue Type: Task
>          Components: redis
>            Reporter: Donal Evans
>            Assignee: Donal Evans
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> RedisHash currently uses constants to help keep track of the size of bytes in use by that RedisHash. The way that the size increases when members are added is not constant, and is affected by resizing. It is possible to get the measurement to be exactly accurate, by dynamically calculating the overhead based on the current capacity and how many entries there are. 
> This relates to: [https://github.com/apache/geode/commit/6a0eba25d5ed5cc7146ce6374d39dd12b22745f3]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)