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

[Question] What's the reason behind the different consistency level settings for queries? #6

Open
suraciii opened this issue Oct 12, 2021 · 1 comment

Comments

@suraciii
Copy link

I'm new to Cassandra and want to learn why reminder queries are using quorum consistency level but storage queries are using one (according to InitializeOrleansDatabase.cql, what's the reason behind this?

And thanks for providing this cool library

@RuiEusebio
Copy link
Contributor

RuiEusebio commented Nov 4, 2021

Hi @suraciii,
The consistency level ONE means only one replica node returns the data.
The consistency level QUORUM means 51% or a majority of replica nodes across all datacenters responds.
In Orleans, Reminders are identical to timers but they are persisted in the database, which is something that executes later after the grain is called, it has other features you can see the documentation link

After that, I think the reason behind this is the guarantee that the Reminder is not lost and runs in any datacenter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants