Load Balanced Site strategies
Posted: Tue Oct 01, 2002 11:44 am
Our site is getting much more complex because we are now going to duplicate web-servers and formal firewalls between them and the internal network. This is causing us a few problems.
Part of the problem is that the webservers really have no knowledge of each other and do not share disks, this means that we have to keep them in sync.
The following are the issues we have defined and possible solutions, any suggested solutions would be appreciated.
1. PHP sessions - Since the session is only written to 1 webserver the session could be lost if they go to the other server. We will write our own session handler which will store the session in the DB, we also considered FTP'ing the file to the other webserver when we wrote it.
2. Publishing Content to the site - We will need to FTP all updates to both webservers. It appears we will have to write a program that Syncs trees via FTP... are there any tools available for this process?
thanks for any input.
Part of the problem is that the webservers really have no knowledge of each other and do not share disks, this means that we have to keep them in sync.
The following are the issues we have defined and possible solutions, any suggested solutions would be appreciated.
1. PHP sessions - Since the session is only written to 1 webserver the session could be lost if they go to the other server. We will write our own session handler which will store the session in the DB, we also considered FTP'ing the file to the other webserver when we wrote it.
2. Publishing Content to the site - We will need to FTP all updates to both webservers. It appears we will have to write a program that Syncs trees via FTP... are there any tools available for this process?
thanks for any input.