Skip to content

Commit

Permalink
add illustration to redundancy documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rigelk committed Oct 2, 2018
1 parent 792e5b8 commit 60b14e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion support/doc/redundancy.md
Expand Up @@ -7,6 +7,12 @@ A PeerTube instance can cache other PeerTube videos to improve bandwidth of popu
The instance administrator can choose between multiple redundancy strategies (cache trending videos or recently uploaded videos etc), set their maximum size and the minimum duplication lifetime.
Then, they choose the instances they want to cache in `Manage follows -> Following` admin table.

<p align="center">

<img src="support/doc/user/redundancy.png" alt="Redundancy" />

</p>

Videos are kept in the cache for at least `min_lifetime`, and then evicted when the cache is full.

When PeerTube chooses a video to duplicate, it imports all the resolution files (to avoid consistency issues) using their magnet URI and put them in the `storage.videos` directory.
Expand Down Expand Up @@ -43,4 +49,4 @@ See the `/api/v1/server/stats` endpoint. For example:
}
]
}
```
```
Binary file added support/doc/user/redundancy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions support/doc/user/redundancy.xml
@@ -0,0 +1 @@
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0" version="9.1.8" editor="www.draw.io" type="device"><diagram id="2f5eda5b-dbab-6be5-4dc5-833b4d942388" name="Page-1">7Vpbc5s4FP41zLQP8YAE2HmM3aa7D7vTadpp+yiDMJpg5AU5tvfXrwQSFyG8xMWJJ25m2jFHQpfzHX3nIiy4WO8/ZWgT/0VDnFjADvcW/GABMJva/H8hOJQC15WCVUbCUuTUggfyL5ZC1W1LQpy3OjJKE0Y2bWFA0xQHrCVDWUZ37W4RTdqzbtAKdwQPAUq60u8kZLHclmfX8j8wWcVqZseWLUsUPK4yuk3lfBaAUfFXNq+RGkv2z2MU0l1DBD9acJFRyspf6/0CJ0K1Sm3le/c9rdW6M5yyIS/MyheeULLFasXFuth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