You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appear to spend a lot of time sorting the partitions inside cachedPartitions() Does this need to happen so frequently? Can this be cached per topic/partitionSet combination? I'm not super familiar with kafka's protocol so I'm not sure if the solution is so simple.
Thoughts?
The text was updated successfully, but these errors were encountered:
Yes, this can be cached, it's just a little tricky and there are other performance bottlenecks that are more broadly applicable (e.g. #255). You must have an enormous number of partitions for this to be showing up so heavily.
Hello,
I've written a golang kafka client using sarama (it sends a lot of kafka messages) and when I use pprof the following information shows up
I appear to spend a lot of time sorting the partitions inside cachedPartitions() Does this need to happen so frequently? Can this be cached per topic/partitionSet combination? I'm not super familiar with kafka's protocol so I'm not sure if the solution is so simple.
Thoughts?
The text was updated successfully, but these errors were encountered: