Forum

What is recommended RAM cache size?

Andy 2014-01-18 01:52:47 UTC in Nimble Streamer

The default ram cache for live streaming is 64mb only. In our case, we have over 100 live streams. Assuming they’re all being actively streamed to player, what would be recommended for this value?

Max 2014-01-18 01:53:26 UTC 

Hi,

In a nutshell, the recommended value should be enough to fit the "window" for your live streams available to users.

For example, if you have 100 HLS streams and there are ~10 chunks available to users in every stream playlist with average chunk size is about 1 MB, then you need at least 1MBx10x100=1000MB to fit them all in cache. This is very rough estimation, that can vary depending on a workload, and this is not all the memory that will be used by Nimble, it will allocate some additional memory to server every active user session. I'd recommend you to start from at least 1.5GB of RAM cache to have some reserve, and monitor the cache usage for some time during the high workload hours.

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.