GitHub user merlimat opened a pull request:

    https://github.com/apache/bookkeeper/pull/156

    BOOKKEEPER-1055: Optimize handling of masterKey in case it is empty

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/merlimat/bookkeeper empty-password

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/bookkeeper/pull/156.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #156
    
----
commit 33ed98a7653ca82eb2d25cafbad51f6b6fa0dac7
Author: Matteo Merli <mme...@yahoo-inc.com>
Date:   2015-05-11T03:59:41Z

    BOOKKEEPER-1055: Optimize handling of masterKey in case it is empty

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to