Matteo Merli created BOOKKEEPER-1055:
----------------------------------------
Summary: Optimize handling of masterKey in case it is empty
Key: BOOKKEEPER-1055
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1055
Project: Bookkeeper
Issue Type: Improvement
Reporter: Matteo Merli
Assignee: Matteo Merli
Priority: Minor
Fix For: 4.5.0
On each request client and bookies are exchanging the ledger masterKey, which
is a 20 bytes MAC digest of the ledger password.
For each request there is a considerable overhead in allocating byte arrays
when parsing the add/read requests.
If the client is a passing an empty password, we should optimize the data path
to skip all allocations (related to the masterKey) and instead rely on a static
byte array.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)