diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-02 11:09:35 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-02 11:09:35 +0200 |
commit | 60b14e5e3f798ff4f5e1e9892332655bcc6d4845 (patch) | |
tree | 7645c2868ae4944319ab19f3c7ac47c2307ab8a3 | |
parent | 792e5b8e5b731e15228dd5938bc2f99bb2e1070a (diff) | |
download | PeerTube-60b14e5e3f798ff4f5e1e9892332655bcc6d4845.tar.gz PeerTube-60b14e5e3f798ff4f5e1e9892332655bcc6d4845.tar.zst PeerTube-60b14e5e3f798ff4f5e1e9892332655bcc6d4845.zip |
add illustration to redundancy documentation
-rw-r--r-- | support/doc/redundancy.md | 8 | ||||
-rw-r--r-- | support/doc/user/redundancy.png | bin | 0 -> 29641 bytes | |||
-rw-r--r-- | support/doc/user/redundancy.xml | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/support/doc/redundancy.md b/support/doc/redundancy.md index 62c6365a9..4c7ce4c1e 100644 --- a/support/doc/redundancy.md +++ b/support/doc/redundancy.md | |||
@@ -7,6 +7,12 @@ A PeerTube instance can cache other PeerTube videos to improve bandwidth of popu | |||
7 | 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. | 7 | 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. |
8 | Then, they choose the instances they want to cache in `Manage follows -> Following` admin table. | 8 | Then, they choose the instances they want to cache in `Manage follows -> Following` admin table. |
9 | 9 | ||
10 | <p align="center"> | ||
11 | |||
12 | <img src="support/doc/user/redundancy.png" alt="Redundancy" /> | ||
13 | |||
14 | </p> | ||
15 | |||
10 | Videos are kept in the cache for at least `min_lifetime`, and then evicted when the cache is full. | 16 | Videos are kept in the cache for at least `min_lifetime`, and then evicted when the cache is full. |
11 | 17 | ||
12 | 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. | 18 | 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. |
@@ -43,4 +49,4 @@ See the `/api/v1/server/stats` endpoint. For example: | |||
43 | } | 49 | } |
44 | ] | 50 | ] |
45 | } | 51 | } |
46 | ``` \ No newline at end of file | 52 | ``` |
diff --git a/support/doc/user/redundancy.png b/support/doc/user/redundancy.png new file mode 100644 index 000000000..0184fb78e --- /dev/null +++ b/support/doc/user/redundancy.png | |||
Binary files differ | |||
diff --git a/support/doc/user/redundancy.xml b/support/doc/user/redundancy.xml new file mode 100644 index 000000000..c501b63d5 --- /dev/null +++ b/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/MyheeULLFasXFuthB6aLYDRb9bQvOdzFh+GGDAtG64+BzWczWCX9y+M+cZfQRL2hCs+JtaBd/VYvSpugbkSRp9Iwi7AeBkNOUmUZACVmlXBbwvWHeOO9uVu7/CWcM7xsiuflPmK4xyw68i2r15SvKUBWQuxp2T4EVNyH3pRBJU1tVY9fq5j+kxs3an16O9kOEZ9Fra382UPkQjKB82FH+A8742rnsGAzO+WBIaYpfGAHPaSPgGOzfM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