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

Consider precomputing some client context fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • 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

              kturner Keith Turner
              kturner Keith Turner
              Votes:
              1 Vote for this issue
              Watchers:
              3 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