#332 ✓closed
Ben Hood

Streamline difference event processing

Reported by Ben Hood | August 8th, 2011 @ 01:32 PM

This ticket is an in-memory variant of #294.

The following process should be used to handle difference events in a domain:

  • Scan proceeds as normal. The current match buffering code is removed.
  • At the completion of a scan, a sync operation (terminology TBD) is initiated. This operation will:
    • Generate a sync GUID or increasing ID
    • Iterate over all unmatched records in the Version Correlation Store, and generate a difference event with the data from the store along with the sync ID
    • The differences store will create new differences where the data is unique, and update existing differences with the sync GUID where it isn't
    • At the completion of the correlation store iteration, a message is sent to remove all differences that aren't marked with the current sync id. This will remove (that is, mark as matched) any difference that isn't currently in the correlation store (and therefore has reached a matched state)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Pages