You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xinyu Tan (Jira)" <ji...@apache.org> on 2023/05/06 09:09:00 UTC
[jira] [Created] (IOTDB-5841) Modify IoTConsensus default parameters to improve performance in more scenarios
Xinyu Tan created IOTDB-5841:
--------------------------------
Summary: Modify IoTConsensus default parameters to improve performance in more scenarios
Key: IOTDB-5841
URL: https://issues.apache.org/jira/browse/IOTDB-5841
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Xinyu Tan
Assignee: Xinyu Tan
* Add pipelineNum metric
* change maxPendingBatch from 5 to 12 to improve replication performance:this change may occur more IoTConsensusServiceThread in some case,so we can not make it too large。
* change maxLogEntriesNumPerBatch from 30 to 1024:For small request scenarios, this change can increase the size of each Batch, thereby increasing the synchronization speed. This change will not affect large requests because the size of each Batch is limited to no more than 16M.
* Change the queue from an infinitely long LinkedBlockingQueue to an ArrayBlockingQueue to avoid a single queue taking up too much memory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)