An open API service indexing awesome lists of open source software.

https://github.com/mkmik/imsy

simple incremental pull of immutable large files
https://github.com/mkmik/imsy

cdc incremental large-files rabin-fingerprint replication

Last synced: about 1 year ago
JSON representation

simple incremental pull of immutable large files

Awesome Lists containing this project

README

          

# imsy

## overview

`imsy` shows the underlying principle of file replication
mechanism suitable for large immutable files, such as VM images.

The core idea is to split a file in chunks using a Content Defined Chunking (CDC) mechanism,
and save chunks in a Content Addressed Store (CAS), where each chunk is identified by its hash (e.g. SHA256)

The file can now be fully recovered by knowing the list of hashes of its constituent chunks, in order.

## usage

First check out and run `go build`.

Then get hold of a couple of big files that are different but related, e.g. two VM images. Squashed uncompressed docker images would work too. Let's call them `vm1.img` and `vm2.img`.

Then run:

```
$ imsy -dir server1data prepare