You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/05/20 09:21:39 UTC

[GitHub] [pulsar] lhotari opened a new issue #10652: [Performance] AuthenticationProviderToken.authenticateToken (JWT token parsing) creates a lot of allocations

lhotari opened a new issue #10652:
URL: https://github.com/apache/pulsar/issues/10652


   **Is your enhancement request related to a problem? Please describe.**
   
   The performance of `AuthenticationProviderToken.authenticateToken` is bad. It seems that the JWT parsing classes get loaded for each call
   
   This shows up in the allocation flame graph:
   ![image](https://user-images.githubusercontent.com/66864/118953740-c43b7b00-b965-11eb-80ac-de446335a0f7.png)
   
   **Describe the solution you'd like**
   
   Optimize the performance so that the parser is cached and isn't instantiated for each call.


-- 
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.

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



[GitHub] [pulsar] addisonj commented on issue #10652: [Performance] AuthenticationProviderToken.authenticateToken (JWT token parsing) creates a lot of allocations

Posted by GitBox <gi...@apache.org>.
addisonj commented on issue #10652:
URL: https://github.com/apache/pulsar/issues/10652#issuecomment-845595132


   I can take this


-- 
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.

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



[GitHub] [pulsar] eolivelli closed issue #10652: [Performance] AuthenticationProviderToken.authenticateToken (JWT token parsing) creates a lot of allocations

Posted by GitBox <gi...@apache.org>.
eolivelli closed issue #10652:
URL: https://github.com/apache/pulsar/issues/10652


   


-- 
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.

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