[ 
https://issues.apache.org/jira/browse/RATIS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568599#comment-16568599
 ] 

Mukul Kumar Singh commented on RATIS-289:
-----------------------------------------

Thanks for the review [~szetszwo]. I have addressed the comments in the v3 
patch.

It is better to keep buf as List<LogEntryProto> and call entry.getEntry() in 
addEntry(..) 
bq. In order to make sure multiple readStateMachine can work in parallel. I am 
keeping a list of EntryWithData will perform a join on them at the end. This 
will help with multiple readStateMachine to work in parallel.



> Optimize readStateMachine by allowing to enqueue multiple read requests in 
> parallel
> -----------------------------------------------------------------------------------
>
>                 Key: RATIS-289
>                 URL: https://issues.apache.org/jira/browse/RATIS-289
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 0.3.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>            Priority: Major
>             Fix For: 0.3.0
>
>         Attachments: RATIS-289.003.patch
>
>
> Currently the data is read from state machine using the getEntryWithData api. 
> However this api does not let multiple reads to state machine to happen in 
> parallel.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to