Results 1 to 6 of 6

Thread: Wowza3 cluster of servers with different capacity

  1. #1
    Join Date
    Jan 2013
    Posts
    4

    Unhappy Wowza3 cluster of servers with different capacity

    Hi everybody,

    I am managing a (distributed) Wowza 3 streaming farm consisting of a cluster of servers with different capacities in terms of network/CPU/RAM.

    I have three kinds of Edge machines:
    - large (can serve up to 2000 streams)
    - medium (up to 1000 streams)
    - small (up to 700 streams)

    I can set <ConnectionLimit> in VHosts.xml but this will limit all edge machines to the limit imposed for the smallest Edge since the load balancer always redirects connections to the Edge server with the lowest connection count, regardless of the fact that one Edge reached its connection limit.

    When the "small" Edge reaches 700 it rejects all the new connections, its connection count stops growing and the LoadBalancer will redirect all new connection to it since it has the lowest count in the cluster. This way all new connections will be rejected.



    Is there a way to set up my Edge/LoadBalancer machines so that the balancer stops redirecting connections to an edge after that edge reaches a specific connection limit (different for each Edge)?


    Hope this is clear, any hint would be appreciated!!!
    Thank you,
    Andrea

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Andrea,

    Yes, take a look at this guide:
    http://www.wowza.com/forums/content....itConnections)

    Richard

  3. #3
    Join Date
    Jan 2013
    Posts
    4

    Default

    Hello Richard,

    It looks very promising, exactly what I am looking for!

    I'll give it a try tomorrow!
    Thanks a lot for your prompt reply,
    Andrea

  4. #4
    Join Date
    Jan 2013
    Posts
    4

    Unhappy

    Quote Originally Posted by andrearivetti View Post
    Hello Richard,

    It looks very promising, exactly what I am looking for!

    I'll give it a try tomorrow!
    Thanks a lot for your prompt reply,
    Andrea

    It looks like this module tells the balancer to stop redirecting connections when an edge reaches a certain number of connection for a specific application (I say so because the maxEdgeConnections property is to be defined in the config file for a specific application).

    Is it possible to do the same when an edge reaches a certain number of total connections on that edge?


    Thank you,
    Andrea

  5. #5
    Join Date
    Jan 2013
    Posts
    4

    Default

    Quote Originally Posted by rrlanham View Post
    Andrea,

    Yes, take a look at this guide:
    http://www.wowza.com/forums/content....itConnections)

    Richard

    Hi Richard,

    can you confirm that this module allows me to define a per application limit opposed to a per server limit?
    If I want to limit the connections per server, this module does not help me since it does not allow me to pause the balancer once the total connection count for each edge server reaches its limit.

    Is my understanding correct?
    We need to grow the Wowza farm in a scalable way and I need help unblocking the situation.


    Please point me in the right direction, we can do some Java coding if needed!
    Thank you,
    Andrea

  6. #6
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Andrea,

    You are right, it is per the edge application not the server. The Load Balancer use server count, so this is inconsistent. I will bring it up. Meanwhile, you can get client/session count for the whole server like this:

    Server server = Server.getInstance();
    Long connectionCount = server.getConnectionCounter().getCurrent();
    Richard
    Last edited by rrlanham; 01-25-2013 at 07:37 AM.

Similar Threads

  1. Replies: 3
    Last Post: 08-23-2016, 07:57 AM
  2. how I can setup wowza cluster
    By dpakrk in forum Server Administration Discussion
    Replies: 5
    Last Post: 11-19-2012, 01:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •