Closed kamijin-fanta closed 7 years ago
When multiple compactions were operated at the same time, it was slightly improved. However, it can not be said that 100% of resources can be used.
It seems to be meaningless to specify indexing_threads
larger thanconcurrent_compactors
. In Cassandra's configuration, concurrent_compactors are generally 2. Are you specifying big numbers?
I was misunderstanding. I guessed the indexer is a bottleneck. But it was a CompactionExecutor.
It is my own answer.
'partitioner': '{type: "token", partitions: 64}'
indexing_threads
is sufficient by default.I hope this will be helpful to developers. Finally, thanks for the wonderful plugin!
I was investigating the problem of compaction very slow when I created lucene index.
Since
indexing_threads
is unspecified, I guess that the same number of CPU cores as 6 is specified. However, the usage rate of the CPU never exceeds 100% / 600%.I thought it suspicious and looked at the situation of the thread
use tools: https://visualvm.github.io/
Only one thread is running at the same time...
Does Lucene Incexer have conditions to use concurrent threads?
memo
enable rmi server
spec