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

Duong resolved HDDS-6996.
-------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed

> 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
>             Fix For: 1.4.0
>
>
> 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