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

can we use FullyConsistent in memdb without performance penalty? #16

Closed
chezgi opened this issue Jun 27, 2024 · 1 comment
Closed

can we use FullyConsistent in memdb without performance penalty? #16

chezgi opened this issue Jun 27, 2024 · 1 comment

Comments

@chezgi
Copy link

chezgi commented Jun 27, 2024

in the as-library example, using AtLeastAsFresh.
it seems that in this scenario we can use FullyConsistent mode without performance penalty.
or we can use MinimizeLatency without any inconsistencies.
is there anything must be considered here?

@vroldanbet
Copy link
Contributor

@chezgi the memory datastore is not meant for high throughput workloads, it was just a reference implementation for testing and we are aware it has some bottlenecks, particularly with writes.

With that said, you can probably use FullyConsistent and not get much of the overhead other datastores get because loading relationships is fairly cheap. MinimizeLatenzy will behave like other datastores, and so a default staleness of 5.5 seconds is possible

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