VM-Content » History » Version 1

Alexander Blum, 10/05/2019 08:10 PM

1 1 Alexander Blum
{{toc}}
2 1 Alexander Blum
3 1 Alexander Blum
# VM-Content
4 1 Alexander Blum
5 1 Alexander Blum
## Setup
6 1 Alexander Blum
7 1 Alexander Blum
### [[Architecture#Minimal-Setup|Minimal]]
8 1 Alexander Blum
9 1 Alexander Blum
* 1 [[VM-Content]] in [[M-Web]]
10 1 Alexander Blum
* Identification of the content server with `HOSTNAME`
11 1 Alexander Blum
* Mount per samba in [[VM-Web]] and [[VM-Processing]] in `./content/`
12 1 Alexander Blum
* Serving of a file via URL on [[VM-Web]]
13 1 Alexander Blum
14 1 Alexander Blum
### [[Architecture#Optimal-Setup|Optimal]]
15 1 Alexander Blum
16 1 Alexander Blum
* 1 [[VM-Content]] in each [[M-Content]]
17 1 Alexander Blum
* Identification of the content server with `URL` and `HOSTNAME`
18 1 Alexander Blum
* Mount per samba in [[VM-Processing]] in `./content/`
19 1 Alexander Blum
* Stand-alone pyramid webservice
20 1 Alexander Blum
* Distribution of new previews to all instances of [[VM-Content]] via script
21 1 Alexander Blum
* Serving of a file via URL on [[VM-Content]]
22 1 Alexander Blum
* Dynamic connection of an instance of [[VM-Content]] to the client
23 1 Alexander Blum
    * [[VM-Nginx]] load balances the content url to one instance of [[VM-Content]]
24 1 Alexander Blum
* Authentification
25 1 Alexander Blum
    * Service: Service-Token (per Service, i.e. per [[VM-Content]])
26 1 Alexander Blum
    * User: Cookie-ID (background request forwarded to [[VM-Web]] API)
27 1 Alexander Blum
28 1 Alexander Blum
## Services
29 1 Alexander Blum
30 1 Alexander Blum
* Sambaserver
31 1 Alexander Blum
* (optimal) Webservice: Authentification, Content server
32 1 Alexander Blum
* (optimal) Script: [[Scripts#Content-Distribution|Content Distribution]]
33 1 Alexander Blum
34 1 Alexander Blum
## Specification
35 1 Alexander Blum
36 1 Alexander Blum
* Content storage for static files of `CONTENTTYPE` (previews, excerpts)
37 1 Alexander Blum
* (optimal) Content provider for user clients
38 1 Alexander Blum
* For further details, see [[Specification#Permanent-storage-for-user-content]]