Ashley
30-11-2009, 00:11
Use rsync to copy your content across servers.
Now set up a special mysql class in php or use something like mysql proxy to make sure everything but read only queries go to the master MySQL server (which replicates the changes to the slaves).
Selects should be done on the local slaves etc.
You could use federated tables but they can be buggy and under-perform.
Now set up a special mysql class in php or use something like mysql proxy to make sure everything but read only queries go to the master MySQL server (which replicates the changes to the slaves).
Selects should be done on the local slaves etc.
You could use federated tables but they can be buggy and under-perform.