Skip navigation
eugene!
Currently Being Moderated

Live AV chat architecture

Apr 11, 2012 11:27 PM

Tags: #live #fms #streaming #rtmp #live_streaming

Hello,

 

We have live AV chat app which assumes to have up to 50 online rooms with 500-600 people in each room. Our idea is only one people can broadcast video in the room, others will be able just see it.

 

We have quite strong server with 1Gbit/sec bandwidth. If we will get that average stream is 300kbit/sec, it means that we can support ~3,5k connections (1Gbit * 1024 * 1024 / 300 kbit). Is it correct? But actually, when we have more than 500 connections on server, time to time we get connection rejects. Any ideas?

 

Also, CPU and RAM usage is very low and I believe that server has enough resources to process more connections...

 

Another problem is when into one chat room we have more 100 people, video begins to slow down and twitch. What it may be and what should we do to avoid such behavior?

 

We use FMS 4.0 server and Centos 6 64bit architecture.

We tried to use origin/edge architecture, but it seems it quite useless with live broadcasting...

 

Please advice which architecture is the best for using such type of applications and what we must tweak in order to enhance our performance.

 

Thanks

 
Replies
  • Currently Being Moderated
    Jul 31, 2012 3:16 AM   in reply to eugene!

    Hi ,

       we have the same issue with fms archtecture , and we are doing some research about the architecture of fms servers.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 2, 2012 6:35 AM   in reply to jiajun2006

    We also use FMIS, but for many to many live streams (video chat rooms). And we are planning to put logic on FMIS, and streams on Flash Media Streaming Server, what do you think about it?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 10:31 AM   in reply to eugene!

    One thing that must be changed is runtimesize in application.xml. It's only 1mb, increase as required.

     

    I also have problems with a chat with >1500 users, connection drops and other stuff, ending to a "core has suffered 1 failure" and the core restarting and all the users being disconnected.

     

    I think it's a matter of configuring the server just because there are plenty of server resources left, but I'm lost here like you are.

     

    Maybe there's something to do with the maxiothreads (server.xml) I have posted recently.

     

    Any help would be really appreciated as well.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 11:03 AM   in reply to D1FCOM

    Do you know how to detect if connection is dropped because of FMS?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 11:24 AM   in reply to dejanp777

    Unfortunately, I have no clue about this.

     

    What I only know is that I'm having 1800 users connected and suddenly, it drops to 600 and eventually, to 0 (core no longer active)

     

    But there is no log while the connections are dropped. No clues.

     

    Seems that FMIS is not default configured to handle such amount of users and some tweaking is required.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points