将单向文件systeem同步到大目标 [英] Synchronizing a one way file systeem to a large destination

查看:87
本文介绍了将单向文件systeem同步到大目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了以下问题:

我想将文件系统从本地办公室同步到服务器目的地。目标文件存储空间很大。大约200,000个文件和120 GB的存储空间。源只有几MB。我面临的问题是目标
机器上的knowlegde文件很大(大约200MB)

I want to synchronize a file system from a local office to a server destination. The destination file storage is huge. About 200,000 file and 120 GB of storage. the source has only a few MB. The problem i am facing is that the knowlegde file on the destination machine is huge (about 200MB)

正如我从sych算法中所理解的那样,这个文件被发送到源文件时来源想要将文件发送到目的地。这是否意味着整个200MB将在网络上发送?

As i understood from the sych algorithm this file is sent to the source when the source want to send files to the destination.Does that mean that the entire 200MB will be send on the network?

是否有更好的解决方案或方式?我错过了什么吗?

Is there a better solution or way? on am i missing something?

 

推荐答案

我想200MB文件是跟踪所有目标文件和文件夹的元数据文件。如果目标服务器从未与任何其他存储同步,则服务器知识应该非常小(小于1k)。对于您的情况,如果同步只是一个
方式(客户端到服务器),并且这个小客户端的所有更改都在常规同步中成功应用于服务器,则服务器的知识将保持较小。

I guess the 200MB file is your metadata file that tracks all of your destination files and folders. If you Destination server never synced with any other stores, the server knowledge should be pretty small (less than 1k). For your case, if the sync is one way only (client to server), and the all changes from this small client are successfully applied on server in regular syncs, the knowledge of the server will stay small.

谢谢,

Dong

Thanks,
Dong


这篇关于将单向文件systeem同步到大目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆