diff options
-rw-r--r-- | FAQ.md | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,31 @@ | |||
1 | # FAQ | ||
2 | |||
3 | ## If nobody watch a video, is it seeded? | ||
4 | |||
5 | Yes, the origin server always seeds videos uploaded on it through [Webseed](http://www.bittorrent.org/beps/bep_0019.html). | ||
6 | |||
7 | |||
8 | ## What is WebSeed? | ||
9 | |||
10 | It is a BitTorrent extension that allow a server to seed a file through HTTP. It just need to serve statically a file, and then the clients will request chunks with a Content-Range HTTP header. | ||
11 | |||
12 | |||
13 | ## If a client requests each chunk of a video through HTTP, the server be overloaded! | ||
14 | |||
15 | Not really. Reverse proxy like Nginx handle very well requests of static files. In my tests it can send chunks at 10MB/s without consuming more than 5% of CPU on a very small VPS. | ||
16 | |||
17 | |||
18 | ## An index of all videos of the network won't be too large for small servers? | ||
19 | |||
20 | No, 1000000 videos will represent around 2GB on PostgreSQL. It is acceptable for a video platform. | ||
21 | |||
22 | |||
23 | ## What kind of videos can I upload? | ||
24 | |||
25 | WEBM, MP4 or OGV videos. | ||
26 | |||
27 | |||
28 | ## I want to change my host or move to HTTPS, how can I do? | ||
29 | |||
30 | If you already have friends you need to quit them. | ||
31 | Then, update your configuration and run `NODE_ENV=production npm run update-host` to update the torrent files. | ||