Search found 3 matches
- 21 Mar 2025, 17:36
- Forum: General Discussion
- Topic: Only writing delta when synchronizing a file
- Replies: 4
- Views: 43940
Re: Only writing delta when synchronizing a file
It is very rare that files that have been modified and thus require syncing have the same size (as their previously synced version).
So, according to your algorithm, files that requiring syncing are almost always copied normally.
Therefore there is only a marginal benefit to a block wise compare ...
- 21 Mar 2025, 10:18
- Forum: General Discussion
- Topic: Only writing delta when synchronizing a file
- Replies: 4
- Views: 43940
Re: Only writing delta when synchronizing a file
Here is a python script example:
https://gist.github.com/tigrouind/46edacf9b53dd34af3b01f0a94120bd1
https://gist.github.com/tigrouind/46edacf9b53dd34af3b01f0a94120bd1
- 14 Mar 2025, 14:22
- Forum: General Discussion
- Topic: Only writing delta when synchronizing a file
- Replies: 4
- Views: 43940
Only writing delta when synchronizing a file
Possible optimization: when synchronizing a file, only the delta (what has been modified) could be written to the file (instead of a normal copy of the file).
This would be useful for synchronizing large files (several GB) where only a few MB have been modified. This is the case with VM disk images ...
This would be useful for synchronizing large files (several GB) where only a few MB have been modified. This is the case with VM disk images ...