Hello. Why peertube needs S3 object storage, if local copies of files are still in local (server hdd) /storage ?
I’m not sure to understand as S3 is an option in PeerTube that is not enabled by default?
Hello, I’m new to using PeerTube and have a question regarding video file management. I recently uploaded a video named ‹ original.mp4 › to my PeerTube instance, which is hosted on my server. I noticed that PeerTube has transcoded the video into an HLS format and uploaded it to my remote ‹ hls › bucket.
I’m curious about what happens to the local ‹ original.mp4 › file after this process. Does it remain on my local server, or is it deleted once the transcoding and uploading to the remote bucket are completed?
Furthermore, if the ‹ original.mp4 › file is indeed deleted, does this mean all streaming traffic will be directed from the remote bucket? Additionally, does PeerTube offer a feature that allows caching (or copying) of popular videos in local storage? I’m interested in knowing if, in the absence of a cached video, PeerTube is capable of downloading it from the remote bucket upon user request.
Thank you for your assistance.
I mean a caching solution similar to what rclone offers with its VFS cache settings. The parameters analogous to rclone’s
--vfs-cache-max-size 100G, and
--vfs-cache-max-age 120h. We maintain up to 100GB of cached data in the default cache directory for a duration of 120 hours. The cache would operate on a ‹ first in, first out › basis, where older files are removed to make space for new ones, provided they’re not currently in use. Can PeerTube support a similar setup for caching video files?
It’s deleted from your local storage
Yes it is!
No but you can easily setup a server cache in front of S3. You can also create another PeerTube instance and use instance redundancy: Instance follows & redundancy | PeerTube documentation
Thank you very much for your help!