1

I am interested in the structure of a file hosting services how to works with multiple server like see schema?

I don't know if it's possible?

enter image description here

Original size :schema.jpg

Schema:

  • client upload a file (file.txt) on principal server
    • server check server space is reached and move to server#1
    • Upload file.txt to server#1 and
    • saving info in database with server#1/file.txt
    • return info links to client..

But in upload.php how to change ftp info for multiple server?

Of Course, this is my vision.

I don't know if it's really if file hosting works.

So if you think the idea is not good, thank you for sharing your knowledge?

4

1 回答 1

2

看看HDFS。这个集群文件系统(虽然主要针对需要对大量数据集进行密集计算的用例)似乎接近您所描述的。

他们解决连接问题的方法是拥有一个类似于 ftp 的自定义服务(它支持 put 和 get 等命令),它允许您一般地连接到集群并整理出放置它的位置。

于 2013-05-12T22:55:22.823 回答