[
https://issues.apache.org/jira/browse/KAFKA-4896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924617#comment-15924617
]
Jun Rao commented on KAFKA-4896:
--------------------------------
One thing we could probably do is to just set the threads to
num.recovery.threads.per.data.dir * log dirs, since the loading of the offset
is likely io bound.
> Offset loading can use more threads
> -----------------------------------
>
> Key: KAFKA-4896
> URL: https://issues.apache.org/jira/browse/KAFKA-4896
> Project: Kafka
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.10.2.0
> Reporter: Jun Rao
> Labels: newbie
>
> Currently, in GroupMetadataManager, we have a single thread for loading the
> offset cache. We could speed it up with more threads.
> /* single-thread scheduler to handle offset/group metadata cache loading and
> unloading */
> private val scheduler = new KafkaScheduler(threads = 1, threadNamePrefix =
> "group-metadata-manager-")
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)