distributed-apps

How do I handle file uploading on distributed application?

喜欢而已 提交于 2019-12-12 01:42:08
问题 I have photo uploading functionality in web application using PHP. Which is going to host as distributed application on many servers. Now, problem is how should I handle that photo uploading functionality so, that photo can be available on all server? My application is in php. 回答1: You could use an already existing platform to perform syncing. Most modern OSes support syncing, and you could also use external tools. At the OS level: You can use rsync for *nix servers (plus, this has been