-
Notifications
You must be signed in to change notification settings - Fork 68
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
Caching should not read forward on miss if window size constrained to 1 #23
Comments
For now, this has been addressed on the (In |
Via @sorinoboroceanu
Using the caching layer when each event represents a full set of state by using a window size of 1 and a tautologous compaction predicate (see https://github.com/jet/foldunk/blob/master/Samples/Store/Domain/ContactPreferences.fs) currently has suboptimal behavior if there has been >1 competing write -- uncached, it would read exactly one event (backwards) whereas in this impl, we read all the events to catch up, but will then only use one
The text was updated successfully, but these errors were encountered: