Wowza Media Systems home  

Go Back   Wowza Media Server Forums > Wowza Media Server 2 Forums > Useful Code and Troubleshooting

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2009, 12:07 PM
charlie charlie is offline
Administrator
 
Join Date: Nov 2006
Posts: 7,739
Default Dynamic Load Balancing solution

This package provides system for load balancing between multiple Wowza Servers. Each edge server is configured to use the ServerListenerLoadBalancerSender ServerListener class. We will call these servers the "edge" servers. Edge servers will periodically (about every 2.5 seconds) send load and status information over UDP to a single (or multiple) Wowza Server server running the ServerListenerLoadBalancerListener ServerListener. We will call this server the "load balancer". The load balancer will keep track of the load and availablility of each of the edge servers to which it is communicating. See the README.html file in the package for detailed instructions:


Version for Wowza Media Server Pro 1.7.x
LoadBalancer.zip

Version for Wowza Media Server 2.0.0 or greater
LoadBalancer_2.0.zip

Note: This package requires Wowza Server 1.6.0-patch19 or greater.

Enjoy,
Charlie

Last edited by rrlanham; 02-05-2010 at 08:10 AM.
Reply With Quote
  #2  
Old 02-02-2010, 03:40 AM
angelneda angelneda is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
Default Load Balancing and JW player Wowza load balancing plugin

Hi,

I’m deploying Wowza in a Load Balancing and Stream Repeater configuration with two Origin servers and two Edge servers. I followed the Load Balancing and Stream Repeater reference documents and it works fine.

As I’m going to use the JW player as client, I was looking for information on how to use Load Balancing with Wowza and I found at the Longtailvideo website a plugin for the JW player called: “Load Balancing for Wowza” (click here for more information about it)

I would like to have a little bit information about this plugin. The setup instructions are not clear to me, but it seems interesting because it manage a load balancing “servlist” that is going to be check by the plugin.

I would like to have a list with my two load balancers and if one of them is not available, to use the second one.

Do you think it possible with this plugin?

Is someone using it?

Thanks in advance,

Angel
Reply With Quote
  #3  
Old 02-02-2010, 03:45 AM
steveh steveh is offline
Junior Member
 
Join Date: Nov 2009
Posts: 23
Default

You dont need to use that plugin any more a standard loadbalanced setup works just fine
Reply With Quote
  #4  
Old 02-02-2010, 05:36 AM
angelneda angelneda is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
Default

Thanks Steveh, but how can I tell to the player to use a secondary load balancer if the first one is not responding?
Reply With Quote
  #5  
Old 02-02-2010, 06:04 AM
rrlanham rrlanham is offline
Senior Member
 
Join Date: Dec 2007
Posts: 5,150
Default

You could use code in the player similar to the protocol rollover, and rollover to another load balancer server. You can adapt from this post:

http://www.wowzamedia.com/forums/showthread.php?t=576

If the connect fails you would try another load balancer.

Richard
Reply With Quote
  #6  
Old 02-02-2010, 07:49 AM
angelneda angelneda is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
Default

Thank you Richard for your answer.

I was reading the thread but I wouldn't like to change the JW source code. My question was only about if the Wowza Load Balancing plugin for JW player could help me to implement this behaviour.
Reply With Quote
  #7  
Old 02-02-2010, 07:57 AM
rrlanham rrlanham is offline
Senior Member
 
Join Date: Dec 2007
Posts: 5,150
Default

I don't think it is. But, as Steve mentioned, you don't need that plugin, it's obsolete. You set up a load balancer and redirect application per the documentation in the package at top, which sends a redirect to JW Player, telling it what edge to connect to. And that's built-in to JW player, you just setup the server-side and connect to the redirect application with JW Player.

Richard
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:08 PM.


Copyright © 2006 - 2008, Wowza Media Systems
Wowza Media Systems