Skip to content

Commit

Permalink
IGNITE-23149 Updated rebalance thread pool doc (#11543)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgGusev authored Sep 19, 2024
1 parent d6b3036 commit 6810cdb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/_docs/data-rebalancing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@ tab:C++[unsupported]

== Configuring Rebalance Thread Pool [[threadpool]]

By default, rebalancing is performed in one thread on each node.
It means that at each point in time only one thread is used to transfer batches from one node to another, or to process batches coming from the remote node.
////
For example, if the cluster has two nodes and a single cache, all the cache's partitions will be re-balanced sequentially, one by one.
If the cluster has two nodes and two caches, then the caches will be re-balanced in-parallel *TODO*
////
By default, Ignite uses either 4 threads, or 1/4 of the number of processor cores available, whichever is lower. For example, on an 8-core processor, 2 threads will be used.

You can increase the number of threads that are taken from the system thread pool and used for rebalancing.
A system thread is taken from the pool every time a node needs to send a batch of data to a remote node or needs to process a batch that came from a remote node.
Expand Down

0 comments on commit 6810cdb

Please sign in to comment.