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

Add Streamwise Catchup mode #11

Open
bartelink opened this issue Jun 18, 2019 · 0 comments
Open

Add Streamwise Catchup mode #11

bartelink opened this issue Jun 18, 2019 · 0 comments

Comments

@bartelink
Copy link
Collaborator

equinox-sync and Propulsion.EventStore originally had a mode in which, when syncing from EventStore to Cosmos, one could:

  1. start projecting from the tail without first doing a full sync operation
  2. request N stream-readers (defaults to 1)
  3. have each event observed on a stream that's not currently in sync request a ReadStreamEventsForwardAsync-based catchup read and project in order to enable the event to be written to the target correctly.

Large amounts of the code are in place for this with TODO markers etc; work has been deferred as its not anticipated that we'll use this mode (reading streamwise is extremely resource-intensive on an EventStore server relative to reading the $all stream, and the feature is only relevant where the wall clock time involved in an initial sync would render it prohibitive to do so)

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