[Red5] Edge/Origin clustering questions

Dan Rossi spam at electroteque.org
Mon Dec 3 05:22:10 PST 2007


On 03/12/2007, at 11:58 PM, Guillaume Lecanu wrote:

> Hi,
>
> Le lundi 03 décembre 2007 à 13:26 +0100, Walter Tak a écrit :
>> 
>> Since the FlashPlayer isn't very smart you have to solve most of  
>> your questions yourself.
>>
>> I've worked with a tripple-FMS serverpark and we made a simple  
>> 'loadbalancer' , which actually was a php-script that knew which of  
>> the 3 servers had the lowest cpu-load ,
>> and let the flash-client connect to that specific server.
>>
>> In other words :
>>
>> 1. periodically save the load on each edge server to a file or  
>> database using e.g. "loadavg" with a cronjob
>> 2. when a client wants to connect, call a script on a webserver  
>> whichs reads the numbers from the file or database and determines  
>> which edge has the least load
>> 3. let the client connect to the specific edge
> Yes this is what I have done, I have make a simple load balancer.
> But may be the Red5 team have planned to make an internal function  
> to call from FP Client to have the URL of the best Edge ?

Maybe under terracotta it would know the resources and properly tell  
you. We are using an actual load balancer switch but it checks for  
connections on all ports i discovered this and had the hosts tweak it  
for the specific port.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071204/a239ac8f/attachment.html 


More information about the Red5 mailing list