dima5rr commented on pull request #9020:
URL: https://github.com/apache/kafka/pull/9020#issuecomment-658604900


   Hi @vvcephei, thank you for the input.
   
   After profiling under load it looks like problem in excessive loops over 
calling internalTopologyBuilder.topicGroups()
   which is synchronized.
   Though short-circuit WrappingStoreProvider can help, but will not solve root 
cause.
   
   WDYT?
   
   
https://github.com/apache/kafka/blob/f699bd98c14e31f07c5a3f6ba9ce2c4b441e7fdb/streams/src/main/java/org/apache/kafka/streams/state/internals/StreamThreadStateStoreProvider.java#L113
   
   
https://github.com/apache/kafka/blob/f699bd98c14e31f07c5a3f6ba9ce2c4b441e7fdb/streams/src/main/java/org/apache/kafka/streams/processor/internals/InternalTopologyBuilder.java#L1030
   
   
![9020](https://user-images.githubusercontent.com/18258318/87517410-79870d80-c687-11ea-8ba1-746af4c932fe.png)
   
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to