I have a website right now that is currently using 2 servers, an application server and a database server, however the load on the application server is increasing, so we are going to add a second application server.
The problem is that the site has users uploading files to the server. How to get downloaded files on both servers?
I do not want to store images directly in the database, as our application is already intensively working with the database.
Is there a way to synchronize the servers with each other or is there something else I can do?
Any help would be appreciated.
thanks
EDIT: I am adding the following links for people who have helped me understand this question more:
Synchronize files on multiple servers and also Save downloaded files when synchronizing on multiple servers - LAMP
For all, reading this NFS post seems like the best of 2.
NFS will keep files in sync, but you can also use ftp to download files on all servers, but NFS looks like a path.
Dfranc3373
source share