steveniemitz opened a new issue, #22161:
URL: https://github.com/apache/beam/issues/22161

   ### What happened?
   
   There are several spots in the critical (streaming) bundle execution path 
that serialize execution of all threads.  Importantly are:
   - `ExecutionStateSampler.add/removeTracker`
   - `ProxyInvocationHandler.as`
   - `DoFnSignatures.getSignature`
   - `ByteBuddyDoFnInvokerFactory.getByteBuddyInvokerConstructor`
   
   A JFR recording of a typical streaming load shows this:
   
![image](https://user-images.githubusercontent.com/1882981/177342493-008e0c79-bbe1-4b6f-80d0-8b8969d228b8.png)
   
   These functions should be optimized to not require a coarse-grained lock 
when executing.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: runner-core


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

Reply via email to