Skip to content

why RaftCore::append_to_log is temporarily set to blocking #1128

Answered by schreter
ukernel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ukernel ,

thanks for looking into it.

Yes, the issue should be fixed ultimately to allow more dataflow-like processing. Your proposal seems on the first look like a workable solution (after some clean-ups), but I don't know all the dependencies inside of RaftCore, i.e., whether this might cause other problems.

In any case, feel free to post it as a PR, it's easier to review and comment than a diff in an issue. Invite @drmingdrmer for the review, he's the main maintainer of the crate and he definitely knows the dependencies the best.

The issue I see is that FuturesOrdered seems to be optimized for a use case with large number of heavyweight futures with a large number of memory allocat…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@schreter
Comment options

Answer selected by schreter
Comment options

You must be logged in to vote
2 replies
@ukernel
Comment options

@drmingdrmer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants