kylehudson Posted May 16, 2008 Share Posted May 16, 2008 Hi, My company has created a robust web application that is mirrored on seven LAMP servers and distributed on two colocation MySQL servers. We would like to have one main page that users go to that then connects them to the fastest mirror. So, what I (think I) need to do is have a database or list of all the mirrors, and then get a php script which checks them all, sees which is fastest at that time, and diverts user to that. Does anyone know how I would go about doing that? Or an alternate method producing similar results. I'd be extremely grateful for any help. Thanks, Kyle Hudson Link to comment https://forums.phpfreaks.com/topic/105936-php-mirror/ Share on other sites More sharing options...
cooldude832 Posted May 16, 2008 Share Posted May 16, 2008 the "fastest" mirror is a tough question because you are really only going to be able to get an instantaneous seek time for that user when in all reality that is probably a very inaccurate result. Link to comment https://forums.phpfreaks.com/topic/105936-php-mirror/#findComment-542883 Share on other sites More sharing options...
jonsjava Posted May 16, 2008 Share Posted May 16, 2008 For balancing, our company uses IPVS ADM It works great. Link to comment https://forums.phpfreaks.com/topic/105936-php-mirror/#findComment-542886 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.