]>
Commit | Line | Data |
---|---|---|
3266ad7c C |
1 | # FAQ |
2 | ||
343ad675 | 3 | ## If nobody watches a video, is it seeded? |
3266ad7c C |
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 | ||
343ad675 | 15 | Not really. Reverse proxies 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. |
3266ad7c C |
16 | |
17 | ||
fcaf1e0a | 18 | ## An index of all videos of servers you follow won't be too large for small servers? |
3266ad7c C |
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 | ||
343ad675 | 28 | ## I want to change my host or move to HTTPS, how can I do that? |
3266ad7c | 29 | |
fcaf1e0a C |
30 | If you already have followers, you can't. |
31 | ||
32 | If you don't: update your configuration and run `NODE_ENV=production npm run update-host` to update the torrent files. |