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 2020/12/18 23:38:24 UTC

[GitHub] [pulsar] jerrypeng opened a new pull request #9005: Allow stats operations not to be blocked in functions

jerrypeng opened a new pull request #9005:
URL: https://github.com/apache/pulsar/pull/9005


   
   ### Motivation
   
   Operations in regards to stats can happen out of band of the main function thread.  Currently, all stats operations for a function instance are unnecessarily synchronized with setup() and close().  This may cause function metrics REST API calls and jetty threads to be blocked when an instance is initializing/setup.
   
   
   ### Modifications
   
   Remove synchronization on JavaInstanceRunnable and use separate locks.
   


----------------------------------------------------------------
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] jerrypeng merged pull request #9005: Allow stats operations not to be blocked in functions

Posted by GitBox <gi...@apache.org>.
jerrypeng merged pull request #9005:
URL: https://github.com/apache/pulsar/pull/9005


   


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