Answer the question
In order to leave comments, you need to log in
Server clustering
Hello.
There are 3 servers:
1 - The site on which the images are uploaded, 2 and 3 are the servers where the images should be uploaded.
Website developed in PHP.
Interested in the question: how to upload files from the site to the other 2 servers.
Sending a POST file with a CURL request comes to mind, but maybe there are some other more convenient ways to solve it?
Answer the question
In order to leave comments, you need to log in
If the channels between the servers are good, then NFS, GlusterFS, Luster, etc. will suit you.
ngs.ru lays out pictures on servers using webdav,
as an option to do it using csync, it uses inotifi to detect new files in the directory.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question