1.0.23 • Published 1 year ago

kvsync v1.0.23

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Algorithm

1. Acquire locks

Get lock files from both source and target storages and ensure that the objects either do not exist or exist but have passed expiration period. If both lock objects meet that conditions - new lock objects are put to the storage with appropriate metadata, including expiration.

2. Commit changes

Writing changes passed as the input to source index.

3. Pull indices

Reading index files from both source and target storages. Process is optimized to read as less data as possible. Only indices which represent the delta between source and target are pulled - process stops as soon as the first common change is found in both storages.

4. Calculate delta

Using change log obtained from index files, determine the list of changes which are missing in the opposite storage (exist in source but missing in target, exist in target but missing in storage).

5. Commit deltas

Writing index files with the changes from the opposite storage which are missing in the current one (from source to target and from tarted to source).

6. Push deltas

Applying change log which represents delta between source and target to both storages.

7. Release locks

Delete lock files created at the beginning of the process. Occurs also in case of an error.

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago