You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2020/12/10 03:42:00 UTC
[jira] [Resolved] (RATIS-1209) Compare the performance between
DataStreamApi and AsyncApi
[ https://issues.apache.org/jira/browse/RATIS-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-1209.
-------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
Since the pull request is already merged, let's resolve this and continue the discussion on RATIS-979.
> Compare the performance between DataStreamApi and AsyncApi
> ----------------------------------------------------------
>
> Key: RATIS-1209
> URL: https://issues.apache.org/jira/browse/RATIS-1209
> Project: Ratis
> Issue Type: Sub-task
> Reporter: runzhiwang
> Assignee: Tsz-wo Sze
> Priority: Major
> Fix For: 1.1.0
>
> Attachments: client.svg, peer.svg, primary.svg, screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> Not sure what happened. If 3 servers are on different machines, DataStreamApi with type DirectByteBuffer seems slower than AsyncApi. If 3 servers are on same machine, DataStreamApi with type DirectByteBuffer is better than AsyncApi.
> DataStreamApi command:
> `${BIN}/client.sh filestore datastream --size 100000000 --numFiles 10 --bufferSize 4000000 --type DirectByteBuffer --peers ${PEERS}`
> AsyncApi command:
> `${BIN}/client.sh filestore loadgen --size 100000000 --numFiles 10 --bufferSize 4000000 --peers ${PEERS}`
--
This message was sent by Atlassian Jira
(v8.3.4#803005)