Forum

Any pitfalls to a very long running DVR?

DVRUser 2022-05-03 19:43:20 UTC in Nimble Streamer

I am considering using the DVR feature to record a live stream for a long period of time -- more than 60 days -- and using the "EPG" time range feature to be able to access specific parts of it dynamically.

My question is, are there any potential issues running a DVR session this long? Has anyone done it before? We have sufficient storage available in our cache location to hold it all. Do you think the metadata on the Nimble side will be able to deal with such volumes?

We would also have jpg thumbnails turned on, and I know these are not cached to disk, do you think we would run into RAM issues having 60 days worth of thumbnails for a DVR stored in memory?

Sergei 2022-05-04 02:11:29 UTC 

Hello.

Though I do not know your actual hardware specifics (e.g. IOPS on your disk system), I guess there will be no troubles for running a DVR stream for 60 days if your server and stream stays online.

Thank you.

DVRUser 2022-05-15 02:04:45 UTC 

Appreciate the response, thank you. Trying to tune this to work best in the long running scenario, and I have not been able to find any documentation that mentions the "Max bucket size" and "Max storage file size" in the DVR settings page. The defaults for these are 4096 MB and 128 MB. Should these be adjusted for a long DVR or will the defaults suffice?

Last question is in regard to JPG thumbnails. It is my understanding that these are not saved to disk, but just stored in RAM. For a long running DVR, do we need to worry about running out of RAM holding 60 days worth of thumbnails? If the server is rebooted at any point, will the thumbnails be lost and need to be regenerated?

Sergei 2022-05-17 03:11:00 UTC 

"Max storage file size" is the size of single DVR’s data (.dat) file.
"Max bucket size" is a size of a folder to store these DVR’s data files. (.dat and index file) If the limit is reached, new folder is created.

We actually do not recommend tweaking default parameters until you have some specific issues.

Thumbnails are actually pieces of a stored video on a keyframe, so it won’t be lost. JPEGs are generated by the Transcoder from these short videos. I doubt you will have RAM issues with thumbnails, but if you have some concerns I would point that any production environment should have some testing period on a real hardware.

Thank you.

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.