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

ASF GitHub Bot updated HDDS-15481:
----------------------------------
    Labels: pull-request-available  (was: )

> Avoid re-encoding the URL safe token for each read chunk
> --------------------------------------------------------
>
>                 Key: HDDS-15481
>                 URL: https://issues.apache.org/jira/browse/HDDS-15481
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Stephen O'Donnell
>            Assignee: Stephen O'Donnell
>            Priority: Major
>              Labels: pull-request-available
>
> This is a small performance improvement - the Token is re-encoded as a 
> URL-safe base64 string on every call to readBlockImpl(), which will be called 
> for each 1MB read.
> We can cache the URL encoded value and on re-encode it if the token is 
> refreshed.



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