Scaling overview

250 views
Skip to first unread message

Charles Bryant

unread,
Mar 15, 2018, 5:02:52 PM3/15/18
to kurento
Hi I am new to Kurento and media streaming in general. 

What I would like to know is a high overview of how scaling an application would work. 

From my experiments it seems very easy to create a live stream up until the point where networking fails because of too many streams. My use case would be many publishers of webinars one way to even more subscribers. eg Lets say 10 publishers each with 500 subscribers.




Micael Gallego

unread,
Mar 15, 2018, 7:30:22 PM3/15/18
to kur...@googlegroups.com
If a single "media session" fits in one KMS, you will have to have several servers for several sessions (one for each). It is relatively easy. 

If a single "media session" doesn't fit in a single server, because too many users, the you will need to use several KMSs for the same session (connecting KMSs together). It is a bit more complex.

Also remember that webRTC should be used only if you need ultra low latency < 400ms. For broadcasting, if you can tolerate latencies of 10 seconds or so.. it is better to use HLS or a similar technique. 

For information related to this please take a look to this post: https://bloggeek.me/how-many-users-webrtc-call/

Remember that if you have a business use case based on WebRTC, we offer commercial support to deal with scalability, bug fixes, consultancy, etc.

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/ec3cbab4-23a2-41ad-a20e-9f04656e67a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Charles Bryant

unread,
Mar 17, 2018, 1:14:41 PM3/17/18
to kurento
Thanks for your reply. 

So for large viewing audiences on a pure rtc solution I would need to orchestrate a fan out architecture of KMS servers, which sounds daunting but I do not think I will achieve large volumes for some time.

I think latency could be acceptable option especially if development is simpler, does Kurento support WebRTC to HLS recording?

Thanks



On Thursday, March 15, 2018 at 11:30:22 PM UTC, OpenVidu wrote:
If a single "media session" fits in one KMS, you will have to have several servers for several sessions (one for each). It is relatively easy. 

If a single "media session" doesn't fit in a single server, because too many users, the you will need to use several KMSs for the same session (connecting KMSs together). It is a bit more complex.

Also remember that webRTC should be used only if you need ultra low latency < 400ms. For broadcasting, if you can tolerate latencies of 10 seconds or so.. it is better to use HLS or a similar technique. 

For information related to this please take a look to this post: https://bloggeek.me/how-many-users-webrtc-call/

Remember that if you have a business use case based on WebRTC, we offer commercial support to deal with scalability, bug fixes, consultancy, etc.

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead

On Thu, Mar 15, 2018 at 10:02 PM, Charles Bryant <charles...@rationetwork.co.uk> wrote:
Hi I am new to Kurento and media streaming in general. 

What I would like to know is a high overview of how scaling an application would work. 

From my experiments it seems very easy to create a live stream up until the point where networking fails because of too many streams. My use case would be many publishers of webinars one way to even more subscribers. eg Lets say 10 publishers each with 500 subscribers.




--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.

Micael Gallego

unread,
Mar 17, 2018, 1:52:23 PM3/17/18
to kur...@googlegroups.com
Kurento can record WebRTC flows in files. 

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead

To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.

To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
Reply all
Reply to author
Forward
0 new messages