Thank you for your answers.
Brad-ev1, I looked at:
http://ev1servers.net/english/services/clu...ers_details.asp
and still don't understand how it works with non-static html sites.
alex.davies, I have 2 servers:
first one for php scripts and images
second for mysql database.
In January I started a dating website (very php and mysql intensive) with profiles, private messaging, interest clubs, chat, forum, personal ads etc. It became popular very soon and the number of visitors grows every day. In peak times I have ~1000 visitors online and server load sometimes grows to 9-10 and to 5-6 for database server. So, I have to do something. I see solution for mysql - if load will be very high I can set up separate servers even for each large table.
The problem is first server which stores images and php scripts. Sure, I can upload the same php scripts to 2 servers, it's not a problem. But visitors upload pictures to their profiles and they can delete pictures. So, for example, I am redirected to physical server A and upload pictures to my profile. Pictures are being saved to server's A hard disk. Server A connects to database server where writes information about uploaded pictures. Next time when I log in I am redirected to physical server B. When I open my album, server B connects to database server and collects information about my pictures. Server B can not find any pictures on it's hard disk and displays just broken images (images exist, but they are saved on A server's hard disk).
That's the problem. Sure, I can set up a different server for images, but if I do so, visitors will be forced to log in one more time if they want to upload/delete their pictures.
Maybe I am stupid, but I can not understand how 2 servers can show the same images if images are being uploaded and deleted non-stop.
Sorry for my English.