tags:

views:

10

answers:

1

Hi guys,

My php application must create 2 copies of 12000 optimised jpgs, 1 copy of each on 2 different servers.

Am I best to create the images on my server then move them, or create them on the remote ftp's.

Both would be using php ftp functions.

A: 

If you have the option, whenever possible, I use PHP shell commands to run rsync, performance wise it's the fastest. if that's not an option, then creating once and copying them seperately would probably be the more efficient if it is a one-time or limited make/copy.

If on the other hand, these images would be made/remade repeatedly, then I would run the image create scripts independently on the two boxes.

FatherStorm