You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2020/11/03 04:49:00 UTC
[jira] [Resolved] (HDDS-4410) Cache DatanodeDetails#getUuidString()
[ https://issues.apache.org/jira/browse/HDDS-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena resolved HDDS-4410.
--------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
> Cache DatanodeDetails#getUuidString()
> -------------------------------------
>
> Key: HDDS-4410
> URL: https://issues.apache.org/jira/browse/HDDS-4410
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Manager
> Affects Versions: 1.0.0
> Reporter: Wei-Chiu Chuang
> Assignee: Ayush Saxena
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.1.0
>
> Attachments: Screen Shot 2020-10-29 at 5.42.57 PM.png
>
>
> DatanodeDetails#getUuidString() is used a lot in OM. In our benchmark about 2% of time is spent getting this string. We should consider caching the string to avoid constructing the UUID string repeatedly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org