You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/10/23 02:00:26 UTC

[GitHub] [pinot] cxing commented on a diff in pull request #9636: feat: Cache BCrypt checkpw to enhance pinot query performance

cxing commented on code in PR #9636:
URL: https://github.com/apache/pinot/pull/9636#discussion_r1002616674


##########
pinot-common/src/main/java/org/apache/pinot/common/config/provider/AccessControlUserCache.java:
##########
@@ -54,6 +58,8 @@ public class AccessControlUserCache {
     private final Map<String, UserConfig> _userControllerConfigMap = new ConcurrentHashMap<>();
     private final Map<String, UserConfig> _userBrokerConfigMap = new ConcurrentHashMap<>();
     private final Map<String, UserConfig> _userServerConfigMap = new ConcurrentHashMap<>();
+    private Cache<String, String> _userPasswordAuthCache = CacheBuilder.newBuilder()

Review Comment:
   Thx will add 



-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org