Stephen O'Donnell created HDDS-15481:
----------------------------------------
Summary: 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
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]