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

Tsz-wo Sze commented on HDDS-12563:
-----------------------------------

[~nanda], after worked on RATIS-2258, I have the full picture how to do this.  
If you have not started, I could pick up this.

> Cache and reuse ContainerID object
> ----------------------------------
>
>                 Key: HDDS-12563
>                 URL: https://issues.apache.org/jira/browse/HDDS-12563
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Nandakumar
>            Assignee: Nandakumar
>            Priority: Major
>
> Since {{ContainerID}} is immutable and all the Container IDs are kept in 
> SCM's memory, we can cache and reuse the {{ContainerID}} object
> This will avoid re-calculation of {{hash}} and {{proto}} conversion and also 
> help (though very little) with SCM's memory consumption.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to