[ 
https://issues.apache.org/jira/browse/IOTDB-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17695694#comment-17695694
 ] 

Xinyu Tan commented on IOTDB-5613:
----------------------------------

I tested with 1c1d on the machine and the throughput improved by 70%

Before:
 !screenshot-1.png! 
After:
 !screenshot-2.png! 

> Remove unnecessary serialization in IoTConsensus when replicaNum is 1 to 
> improve write performance
> --------------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-5613
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5613
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Xinyu Tan
>            Assignee: Xinyu Tan
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2023-03-02-19-01-00-991.png, screenshot-1.png, 
> screenshot-2.png
>
>
> The current IoTConsensus still serializes each request at the consensus layer 
> when replicaNum = 1, which significantly increases the time spent at the 
> consensus layer in the full-link tracking panel.
> !image-2023-03-02-19-01-00-991.png!
> Although ISSUE [4855|https://github.com/apache/iotdb/pull/8025] refactored 
> the seriality-related code, the problem predates that refactoring. 
> This issue will avoid these unwanted serializations
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to