[
https://issues.apache.org/jira/browse/RATIS-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
mingchao zhao updated RATIS-1472:
---------------------------------
Description:
By performance test, I found that the streaming performance decreased by more
than 20% after RATIS-1419 was introduced into CachedThreadPool.
So we added a configuration that lets users choose whether to use
CachedThreadPool or not.
Here are the results of a performance test using CachedThreadPool:
!screenshot-1.png!
Here are the results of a performance test using newFixedThreadPool:
!screenshot-2.png!
> make if use CachedThreadPool configurable.
> ------------------------------------------
>
> Key: RATIS-1472
> URL: https://issues.apache.org/jira/browse/RATIS-1472
> Project: Ratis
> Issue Type: Sub-task
> Reporter: mingchao zhao
> Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> By performance test, I found that the streaming performance decreased by more
> than 20% after RATIS-1419 was introduced into CachedThreadPool.
> So we added a configuration that lets users choose whether to use
> CachedThreadPool or not.
> Here are the results of a performance test using CachedThreadPool:
> !screenshot-1.png!
> Here are the results of a performance test using newFixedThreadPool:
> !screenshot-2.png!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)