php - schema file hosting ftp server -


i interested in structure of file hosting services how works multiple server see schema?

i don't know if it's possible?

enter image description here

original size :schema.jpg

schema:

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

but in upload.php how change ftp info multiple server?

of course, vision.

i don't know if it's if file hosting works.

so if think idea not good, thank sharing knowledge?

take @ hdfs. clustered filesystem (though geared towards use cases when intensive computation needed on large sets of data) seems close you're describing.

the way solve connection issue, have custom service acts similar ftp (it supports commands put , get) allows connect cluster generically , sorts out put it.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -