Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4801

Consider precomputing some client context fields

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0, 2.0.0
    • Component/s: None

      Description

      Currently each time a connection is requested from the the thrift transport pool, three methods are called on client context to get ssl, sasl, and timeout.  These in turn call methods on configuration.  This is showing up in profiling as slow.  I wonder if these could be precomputed in the client context constructor.

       

      Also, repeatedly calling rpcCreds() on client context is showing up as slow.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kturner Keith Turner
                Reporter:
                kturner Keith Turner
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m