I have a server running XFS+Video mod for my personal use only. More people are beginning to view my videos, slowing down the server. Can I copy the video files to a second server via rsync, and have XFS round robin the traffic between the 2 servers whenever users request a video ?
I know that XFS round robin uploading files between servers, but does it also round robin requested files if 2 or more servers have identical files ? If not, can this be done via other methods ?
XFileSharing Pro - Round Robin Load Balancing of Files ?
Hi, thank you for replying. Just so I can grab a bit more understanding before attempting:
1. Have a domain named xxxxxx.com
2. Set round robin DNS for that domain between 2 servers.
3. Set up both servers. Have them rsync every minute.
4. Enter the domain xxxxxx.com in the Add Server section within the admin panel.
So now, every time someone is upload or download a file, main server will send request to xxxxx.com which is then round robin between the 2 servers ? Is the above the correct way to tackle this ? Do i need to rr both apache IP and Nginx IP ?
Thanks
1. Have a domain named xxxxxx.com
2. Set round robin DNS for that domain between 2 servers.
3. Set up both servers. Have them rsync every minute.
4. Enter the domain xxxxxx.com in the Add Server section within the admin panel.
So now, every time someone is upload or download a file, main server will send request to xxxxx.com which is then round robin between the 2 servers ? Is the above the correct way to tackle this ? Do i need to rr both apache IP and Nginx IP ?
Thanks