[
https://issues.apache.org/jira/browse/RATIS-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17292840#comment-17292840
]
runzhiwang commented on RATIS-1312:
-----------------------------------
[~szetszwo] Hi, I test the performance without sync again, and ratis streaming
is still slower than HDFS. When write 400 files * 128MB using 2 clients, ratis
streaming cost 70 seconds, and HDFS cost about 40 seconds.
1. Ratis streaming
Server code:
https://github.com/runzhiwang/incubator-ratis/commits/ratis-streaming
Client command: ${BIN}/client.sh filestore datastream --size 128000000
--numFiles 200 --bufferSize 4000000 --syncSize -1 --type DirectByteBuffer
--peers ${PEERS} --storage /data3/ratis/n2
2. HDFS
Server code: HDFS 3.2.1
Client code: https://github.com/runzhiwang/HdfsPerformance
Client command: hadoop-3.2.1/bin/hadoop jar hdfs-performance-1.0-SNAPSHOT.jar
org.apache.HdfsPerformance 200
> Compare the performance between HDFS and DataStreamApi
> ------------------------------------------------------
>
> Key: RATIS-1312
> URL: https://issues.apache.org/jira/browse/RATIS-1312
> Project: Ratis
> Issue Type: Sub-task
> Reporter: runzhiwang
> Priority: Major
> Attachments: hdfs-1.svg, hdfs-2.svg, streaming-1.svg, streaming-2.svg
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)