[
https://issues.apache.org/jira/browse/RATIS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278614#comment-17278614
]
runzhiwang edited comment on RATIS-1298 at 2/4/21, 7:29 AM:
------------------------------------------------------------
[~szetszwo] I agree we can use Ratis streaming to transfer snapshot.
But for log entries, I'm not sure whether Ratis streaming can improve the
performance. In my thinking , we can not make use of the zero copy of ratis
streaming. Because
1. leader still need to write log entry from on-heap to off-heap, when append
log.
2. when follower receive log entry, it still need to read it from off-heap to
on-heap, to decode the request and apply log.
3. log entry has a small size, ratis streaming is mainly for big size data.
was (Author: yjxxtd):
[~szetszwo] I agree we can use Ratis streaming to transfer snapshot.
But for log entries, I'm not sure whether Ratis streaming can improve the
performance. In my thinking , we can not make use of the zero copy of ratis
streaming. Because
1. leader still need to write log entry from on-heap to off-heap, when append
log.
2. when follower receive log entry, it still need to read it from off-heap to
on-heap, to decode the request and apply log.
3. log entry has a small size.
> Support non-voting members (Listeners/Learners)
> -----------------------------------------------
>
> Key: RATIS-1298
> URL: https://issues.apache.org/jira/browse/RATIS-1298
> Project: Ratis
> Issue Type: New Feature
> Components: server
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
>
> It's time to add the non-voting member, or leaner that is proposed in Raft
> thesis 4.2.1 (you can find a copy at [1]).
> The leaner is useful to maintain high availability when new servers join Raft
> ring (details at thesis 4.2.1). For Ozone SCM HA effort, we have also
> discussed the possibility to utilize leaner as the tool to replace SCM nodes
> online.
> [1]: https://github.com/ongardie/dissertation
--
This message was sent by Atlassian Jira
(v8.3.4#803005)