Forum

Post a new question

Categories:

Tags:

Cache performance on Nimble

Sebastian Perez 2016-11-20 19:18:28 UTC in Nimble Streamer
C1dfab7a167c2007102146b3d2b3ef57

Hello, I have created a Nimble streamer and it works great. But as soon as I configure a Cache Control for playlists and chunks, performance goes to floor.. Live Streams freezes al over and sometimes I get kicked from the stream..

max_cache_size = 6144
vod_to_ram_cache_first = true
chunk_cache_control = max-age=120
playlist_cache_control = max-age=30

If I remove the cache_control settings, all works great.. But I really need the cache because I'm using a CDN (onApp) and it honors directly the cache on the origin..

My nimble streamer server has 32 GB Ram 8 Cores, and SSDs storage disks, and 1gbps ethernet port.. I guess it's not resources, I may have something misconfigured..

Do you have any troubles with this?

Alex Pokotilo 2016-11-21 02:17:41 UTC
B0af1cee7eb1e40dd284d9982b3aef70

if you ask CDN to use cache for playlist for live via playlist_cache_control = max-age=30 it probably save playlist for given interval but live stream require playlist to be actual.
Try to remove "playlist_cache_control = max-age=30" and if works try to decrease playlist_cahe_control interval to minimum possible chunk duration. if you have duration set to 6 seconds I'd recommend to set "playlist_cache_control = max-age=6".

Post a reply



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.