Skip to content

Diff between two timestamps: Design #270

@genadyp

Description

@genadyp

We have a few options for the diff depending on the methods we store content data.

  1. Currently we can use modification_time/indexation_time parameters for the diff between two timestamps.
    Pro:

    • Minimum changes.
    • It enough to have one file that contains the index.
      Then there is no fear that we can miss any changes, cause we have only one file that contains all the index.

    Contra: Can be costly and take a time (need check)

  2. Using incremental diff, i.e. we have a base and diffs for timestamps.
    Implementations:

    1. Base is a file and diffs are separate files
      Pro: Simple enough.
      Contra: What if we lose few such diff files? Is it a real scenario?
    2. Having one file that contains base and diffs as a separate sections. It is similar to the way as, for example CVS, handles diffs.
      Pro: All data concentrated in one file
      Contra: Looks more complicated than first approach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions