Hi,
I enabled redundancy for 2 instances I follow.
Is there a way I can check how many disk space is used for that redundancy?
How can I delte those files? (is un-chekcing redundancy enough?)
What is the logic? meaning when will a video be saved on my instance?
All the necessary information on redundancy is in the configuration file … Everything is well commented there.
# Cache remote videos on your server, to help other instances to broadcast the video
# You can define multiple caches using different sizes/strategies
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage$
redundancy:
videos:
check_interval: '1 hour' # How often you want to check new videos to cache
strategies: # Just uncomment strategies you want
# -
# size: '10GB'
# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not ov$
# min_lifetime: '48 hours'
# strategy: 'most-views' # Cache videos that have the most views
# -
# size: '10GB'
# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not ov$
# min_lifetime: '48 hours'
# strategy: 'trending' # Cache trending videos
# -
# size: '10GB'
# # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not ov$
# min_lifetime: '48 hours'
# strategy: 'recently-added' # Cache recently added videos
# min_views: 10 # Having at least x views
Choose the strategy you need and uncomment this section.
As soon as this strategy starts working, then all downloaded files will be stored in the directory /var/www/peertube/storage/redundancy