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

Duong commented on HDDS-6996:
-----------------------------

Resolving. All key lookup (head/get) no longer call getBucket or getVolume. 

> Perf: Ozone should avoid calling getBucketInfo/getVolInfo for each lookup
> -------------------------------------------------------------------------
>
>                 Key: HDDS-6996
>                 URL: https://issues.apache.org/jira/browse/HDDS-6996
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: S3
>            Reporter: Rajesh Balamohan
>            Assignee: Duong
>            Priority: Major
>              Labels: pull-request-available
>
> ObjectEndPoint::head shouldn't make a call to getBucket. If it is mandatory, 
> it will be nice to introduce a guava cache to reduce the expensive lookup. 
> Note that there wouldn't be millions of buckets in the volume. So having 
> guava cache with TTL will be nice to have.
> Lines of interest:
>  * 
> [https://github.com/apache/ozone/blob/master/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java#L414]



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