ludlows opened a new issue, #66699: URL: https://github.com/apache/doris/issues/66699
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description when using ldap, people apply search actions more frequently (like 2 times) than that of login. at the client side, we can provide a connection pool to serve the search requests. ### Solution 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. ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
