X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=ARCHITECTURE.md;h=f3254d2d62dbb9b604c0e5fe853347111fdab4ca;hb=9644c2a88eb227e7441b0f0a75abb75b41cc60ca;hp=cf0dcfacdba1cd1b004a1366d21bb1cbf183a362;hpb=bd377530836474fa2a4404bd3e8bdd15f1b9ccc0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index cf0dcfacd..f3254d2d6 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -2,10 +2,16 @@ ## Vocabulary - - **Fediverse:** several servers following each others. + - **Fediverse:** several servers following one another, several users + following each other. Designates federated communities in general. + - **Vidiverse:** same as Fediverse, but federating videos specifically. - **Instance:** a server which runs PeerTube in the fediverse. - **Origin instance:** the instance on which the video was uploaded and which is seeding (through the WebSeed protocol) the video. + - **Cache instance:** an instance that decided to make available a WebSeed + of its own for a video originating from another instance. It sends a `ptCache` + activity to notify the origin instance, which will then update its list of + WebSeeds for the video. - **Following:** the action of a PeerTube instance which will follow another instance (subscribe to its videos). @@ -18,12 +24,12 @@ * We use the [ActivityPub](https://www.w3.org/TR/activitypub/) protocol (only server-server for now). Object models could be found in [shared/models/activitypub - directory](https://github.com/Chocobozzz/PeerTube/tree/develop/shared/models/activitypub). + directory](/shared/models/activitypub). * All the requests are retried several times if they fail. ### Instance - * An instance has a websocket tracker which is responsible for all the video - uploaded in it. + * An instance has a websocket tracker which is responsible for all videos + uploaded by its users. * An instance has an administrator that can follow other instances. * An instance can be configured to follow back automatically. * An instance can blacklist other instances (only used in "follow back"