ludlows opened a new pull request, #66700: URL: https://github.com/apache/doris/pull/66700
### What problem does this PR solve? Issue Number: close #66699 (https://github.com/apache/doris/issues/66699) Related PR: not applicable Problem Summary: The LDAP requests are divided into two distinct types based on their characteristics: **Search operations**: These are read-only and connection-reusable. We leverage Apache Commons Pool2 (v2.11) to implement a connection pool, significantly reducing connection establishment overhead for high-frequency search traffic. **Auth operations**: These are less frequent and inherently non-reusable (each authentication binds with a different user credential). We therefore retain the current implementation as-is, since the overhead of pooling would not yield meaningful benefits for this workload. ### Release note None ### Check List (For Author) - Test - [X] Unit Test: the interface is not changed, we utilized the original unit tests. - Behavior changed: - [X] No. - Does this need documentation? - [X] No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
