You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2020/12/06 10:49:00 UTC
[jira] [Commented] (RATIS-1209) Compare the performance between
DataStreamApi and AsyncApi
[ https://issues.apache.org/jira/browse/RATIS-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244712#comment-17244712 ]
runzhiwang commented on RATIS-1209:
-----------------------------------
[~szetszwo] We can discuss the performance result here.
> 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
> Priority: Major
>
> 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)