Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reads should not create an entry in the log #18

Open
belaban opened this issue Apr 2, 2015 · 5 comments
Open

Reads should not create an entry in the log #18

belaban opened this issue Apr 2, 2015 · 5 comments
Assignees
Labels
Milestone

Comments

@belaban
Copy link
Member

belaban commented Apr 2, 2015

Currently, read requests can either be dirty (handled locally) or are added to the log as normal entries. In the latter case, there's a write to disk which is costly.
Implement a third solution that provides linearizable reads as described in section 6.4 of [1].

[1] https://github.com/ongardie/dissertation

@belaban belaban added the feature label Apr 2, 2015
@belaban belaban self-assigned this Apr 2, 2015
@belaban belaban added this to the 0.2 milestone Apr 2, 2015
@ongardie
Copy link

ongardie commented Apr 3, 2015

Oh cool, someone's been reading that thing I wrote :)

@belaban
Copy link
Member Author

belaban commented Apr 3, 2015

And even more than once ! :-) Great dissertation ! Unfortunately most (including my own) are throwaway stuff :-)

@belaban belaban modified the milestones: 0.2, 0.3 May 7, 2015
@belaban
Copy link
Member Author

belaban commented May 15, 2015

Implement this in all building blocks (including ReplicatedStateMachine)

@mauricioscastro
Copy link

Hi Belaban, I am starting to use this here . Is it ok to assume this issue is no more in 3.6.6 final?

By the way, thank you so much for your coding.

@belaban
Copy link
Member Author

belaban commented Oct 23, 2015

Hi @mauricioscastro,
jgroups-raft is at release 0.2 and is independent from the JGroups (e.g. 3.6.6) project.
Issue #18 is still open, and will remain open for some time, as I had to go back to JGroups, to work on the 4.0 release. I will come back to work on jgroups-raft, but don't know yet when.
However, #18 doesn't render jgroups-raft incorrect, it merely slows down reads as a read is treated (more or less) like a write. You could turn this off if you wanted potentially stale reads.
Cheers,

@belaban belaban modified the milestones: 0.4, 0.3 Feb 1, 2016
@belaban belaban modified the milestones: 0.4, 0.5 Aug 4, 2017
@belaban belaban modified the milestones: 0.5, Future Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants