I have an IP to A, B, C, D four servers, H for load balancing, network access by H flow into the internal server 4, four servers only want to deploy web page code, if the user from A upload A file, upload it directly on the user's page to appear either upload pictures, because of the effect of load balance, lead to the user, after the completion of upload pictures don't show, checked the log, found that the upload and request are two TCP connections, load balance for the second time A TCP connection to B, C, D, one of them, because of the four machines do file synchronization, so see what way can be found in four servers sharing the same folder, any A preach up files, can be accessed by other three sets, and because the process time is not long, to ensure the performance,
I know the disk array can, but I am a cloud server, or don't know what good software architecture can be done?
CodePudding user response:
Also set up a file sharing server, there are a lot of file sharing way,Samba, NFS, SSHFS what can use
CodePudding user response:
NFSglusterfs
CodePudding user response:
The best choice for NFS IntranetCodePudding user response:
As the container can