how clustering affects my php programming?
Posted: Mon Mar 01, 2004 1:50 am
Hi
I want to cluster my web sites in the following way: Assume that the site can be located in any of several servers. A load balancer directes traffic to the appropriate server for processing.
The problem is that I can no longer save anything in a server's RAM, since the next client request could be directed to a different server.
This means that it is hard to keep track of session information.
The also means that I cannot store any files locally on the file system and must use a shared database.
What else is affected by clustering?
Did anyone encounter such a problem when he/she tried to cluster web servers? How did it affect the php programming?
thanks in advance
I want to cluster my web sites in the following way: Assume that the site can be located in any of several servers. A load balancer directes traffic to the appropriate server for processing.
The problem is that I can no longer save anything in a server's RAM, since the next client request could be directed to a different server.
This means that it is hard to keep track of session information.
The also means that I cannot store any files locally on the file system and must use a shared database.
What else is affected by clustering?
Did anyone encounter such a problem when he/she tried to cluster web servers? How did it affect the php programming?
thanks in advance