You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2020/10/30 00:46:00 UTC

[jira] [Created] (HDDS-4410) Cache DatanodeDetails#getUuidString()

Wei-Chiu Chuang created HDDS-4410:
-------------------------------------

             Summary: 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
         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