One: How the PHP server to upload the diagram to the specified image server and picture servers to optimize the program
(1) The PHP server to process the image into a shrinkage graph or a specified size of the picture in the PHP program code operation FTP upload to the image server.
Two: The Picture server optimization scheme
(1) with a separate image server processing pictures [lighttpd image Server], from the processing of pictures to see the performance is higher than apached and Nginx.
(2) See if bandwidth issues cause =>>> to ensure sufficient bandwidth
(3) IO Read and write performance of hard disk [disk array = buy multiple disks]
1) RAID0: At least two hard drives, pictures are saved on different disks.
2) RAID1: At least two hard drives, save the same picture on multiple hard drives [image backup]
3) RAID5: At least three pieces of hard drives, combined with the first two.
4) Raid+0: At least three pieces of hard drives, combined with the first two. Better performance. Recommended
How the PHP server uses the program to upload the diagram to the specified image server and image servers optimization scheme