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

Fully Consistent Stream Retrieval #11

Open
kblooie opened this issue May 17, 2015 · 0 comments
Open

Fully Consistent Stream Retrieval #11

kblooie opened this issue May 17, 2015 · 0 comments

Comments

@kblooie
Copy link
Contributor

kblooie commented May 17, 2015

The the raven implementation leverages queries when retrieving streams. Raven queries by design are eventually consistent. To get around this, WaitForNonStaleResultsAsOfLastWrite is leveraged to try to force consistency. This causes issues with timeouts when there are many indexes on the same database or when indexing is slow.

With Raven feature improvements, we should now be able to refactor the models to provide an implementation that doesn't rely on Queries for gets for a single stream & perhaps for replay by checkpointId.

I expect that getting by date will still require queries.

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

1 participant