Bandwith requirement



  • Could you please help me to understand server Bandwidht requierements of the application for RED5 hosting based on numbers of simultaneous connections. More than theoretical numbers I would like your advice based on your real numbers. I need a precise scalable number for hosting to support investments in hosting service.

    What about Stratus (Now Cirrus). What is current performance of that?

    Thanks,



  • About Red5 bandwidth usage, you cannot have an exact number, just an estimate. The used bandwidth is determined not just by the number of users but also by the time they stay connected and the amount of audio and video data they send to each-other. The video quality is another factor that will affect bandwidth usage. With 500-1000 users online at the same time, you will need around 6TB/month (this is what we had with 500+ users at the same time for a month on one of the sites).

    The performance using Stratus was far worst than Red5 but that was long time ago. Now it is just fine! Because of the synchronization with the locally hosted database, there is a delay that may cause never finalized connections but the script has different settings to keep this number on a minimal level. If you play around a little bit with the default settings (connection related settings in config.php), you can achieve fairly stable and fast connecting time (lower numbers usually mean faster connection but may cause higher server load, the defaults are for shared hosting with low resource usage). This is the best possible with cirrus and locally hosted MySQL database.

    If you need something faster, you need to get rid of the database but this will work ONLY with the latest Flash Player not FP10 so you may lose some users … at the moment the above are the best options. We'll launch a new project called CRC 0.1 that may be faster (theoretically). If it works, we'll sell it separately but existing users will have a considerable discount.



  • Thanks for your answer.

    For your 500+ users 6TB/Month are consumption. But how much Mbps of connection to support 500 users simultaneously? Because this number is the limit that hosting provider use to control unxpected spikes.



  • We never tested such limit, all our servers were just fine handling all the connections.



  • That depends on streaming settings. In example if you configure video streaming at 50kb/s that means 400kbps (1 byte = 8 bits).
    Considering that each stream also needs sound and other type of logical data needs to be passed with each conection, and each user needs 2 streams (broadcast own video and receive other video) an user could require 1Mbps transfer from server.

    For live chat sites we recommend servers/plans with 1000Mbps connections to be able to handle many simultaneous users.


Log in to reply
 

© 2108 H7 | Powered by NodeBB

Looks like your connection to H7 was lost, please wait while we try to reconnect.