[
https://issues.apache.org/jira/browse/ACCUMULO-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Turner resolved ACCUMULO-4801.
------------------------------------
Resolution: Fixed
> Consider precomputing some client context fields
> ------------------------------------------------
>
> Key: ACCUMULO-4801
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4801
> Project: Accumulo
> Issue Type: Improvement
> Reporter: Keith Turner
> Assignee: Keith Turner
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0, 2.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)