Managing upload files in multiple servers(pawns)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

We have a site in php and two web servers(pawns) to balance the load.
There is a page in the site through which user can upload images.

When a user uploads an image, the request goes to only one of the two
servers.
So the image will be uploaded to only one server.

How can we copy that image to other server? Do we need to transfer the image
using scp or is there any easy way?

I am afraid of getting the request to the other server for that image before
I copy it?

What steps do we need to take to avoid inconsistancies (if any) would be
caused by this kind of a system?

Please advice.


--srinadh

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux