You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2020/03/20 12:08:00 UTC
[jira] [Commented] (HDDS-3240) Improve write efficiency by creating
container parallel.
[ https://issues.apache.org/jira/browse/HDDS-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063324#comment-17063324 ]
runzhiwang commented on HDDS-3240:
----------------------------------
I'm working on it.
> Improve write efficiency by creating container parallel.
> --------------------------------------------------------
>
> Key: HDDS-3240
> URL: https://issues.apache.org/jira/browse/HDDS-3240
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: runzhiwang
> Assignee: runzhiwang
> Priority: Major
> Attachments: screenshot-1.png
>
>
> 1.As the image shows, when write data, the leader datanode execute two steps: KeyValueHandleHandler.handleCreateContainer, keyValueHandler.handleWriteChunk, after leader finish the two steps, the two follower datanodes execute two steps: KeyValueHandleHandler.handleCreateContainer, keyValueHandler.handleWriteChunk.
> 2.The problem is KeyValueHandleHandler.handleCreateContainer cost about 300ms, so the leader and two followers cost 600ms to createContainer, it's a waste.
> 3.Besides, when createContainer, RocksDB.open cost about 200ms.
> So I will try to:
> A. leader datanode and 2 follower datanodes create container in parallel, not in sequential.
> B. optimize RocksDB.open.
> !screenshot-1.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org