aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-16 19:16:42 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-16 19:16:42 +0200
commitdcc7b3fe470fe5f1546c0f3e7c28c07fc54633c5 (patch)
tree387998b5780ab33575baa72a66c322318c579152
parente856e334a14ac8449b31db24bd5c6fb18f9a23e7 (diff)
downloadPeerTube-dcc7b3fe470fe5f1546c0f3e7c28c07fc54633c5.tar.gz
PeerTube-dcc7b3fe470fe5f1546c0f3e7c28c07fc54633c5.tar.zst
PeerTube-dcc7b3fe470fe5f1546c0f3e7c28c07fc54633c5.zip
Update disk size for 1000000 videos in architecture
-rw-r--r--ARCHITECTURE.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index 3cc559fe6..6059f4b77 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -48,7 +48,7 @@
48### Actions on a pod 48### Actions on a pod
49 * A pod is a tracker (websocket) which is responsible for all the video uploaded in it 49 * A pod is a tracker (websocket) which is responsible for all the video uploaded in it
50 * A pod has different user accounts that can upload videos 50 * A pod has different user accounts that can upload videos
51 * All pods have an index of all videos of the network (name, origin pod url, small description, uploader username, magnetUri). For example, a test with 1000000 of videos with only alphanum characters and the following lengths: name = 50, username = 50, url = 25, description = 250 has a mongodb size of ~ 1GB. 51 * All pods have an index of all videos of the network (name, origin pod url, small description, uploader username, magnet Uri, thumbnail name, created date and the thumbnail file). For example, a test with 1000000 of videos with only alphanum characters and the following lengths: name = 50, author = 50, url = 25, description = 250, magnerUri = 200, thumbnail name = 50 has a mongodb size of ~ 4GB. To this, we add 1 000 000 thumbnails of 5-15 KB so 15GB maximum
52 * After having uploaded a video, the server seeds it, adds the meta data in its database and makes a secure request to all of its friends 52 * After having uploaded a video, the server seeds it, adds the meta data in its database and makes a secure request to all of its friends
53 * If an user wants to watch a video, he asks its pod the magnetUri and the frontend adds the torrent (with webtorrent), creates the video tag and streams the file into it 53 * If an user wants to watch a video, he asks its pod the magnetUri and the frontend adds the torrent (with webtorrent), creates the video tag and streams the file into it
54 * An user watching a video seeds it too (bittorent) so another user who is watching the same video can get the data from the origin server and the user 1 (etc) 54 * An user watching a video seeds it too (bittorent) so another user who is watching the same video can get the data from the origin server and the user 1 (etc)