Architecture » History » Version 2

Version 1 (Alexander Blum, 10/05/2019 08:10 PM) → Version 2/6 (Alexander Blum, 04/20/2021 06:55 PM)

{{toc}}

# Architecture

## System

_
------------


Machine (VM-Web)
|
webbrowser tryton
Internal Services | worker Users | External Services
| Clients
. . ------------ _|
| |
------ ----------
| _
----------------------- | -------------------------- \o/ |
| |---| Portal |---| Repertoire webserver | |--- O Authors | erpserver
| | Public
---------- | ----------------------- | -------------------------- _|
/ \ |
| | | _ | ___ |
---------- | | ---------- | | |101| |
| webgui DB |---| Api |----------------------------- |___| Machines --- ...
| | ---------- | webapi | __|__ |
| |
---------- ---------- |
| |
|
| | ---------- | ----------------------- | Internal \o/ |
---------------------------------- | |---| Tryton |---| --------------- Administration |--- O Admins |
------ ---------- | database ----------------------- | / \ | fingerprint
| |
---------------------------------- --------------- _|
|

## Machines

M = Physical Machine
VM = Virtual Machine

### Minimal Setup

-------------------------------------------------- -----------------
| | | |
| 1. Upload ---> 2. Process -----> 3. Drop -----------> 4. Archive |
| ----------- -------------- ------------- | | ------------- |
| | Web | | Processing | | Dropper | | | | Archive | |
| ----------- -------------- ------------- | | ------------- |
| | \ / | . / | | |
| | \ / | . / | | |
| | \/ | ./ | | |
| | /\ | /. | | |
| | / \ | / . | | |
| ----------- -------------- ------------- | | ------------- |
| | Content | | Storage | | Echoprint | | | | Integrity | |
| ----------- -------------- ------------- | | ------------- |
-------------------------------------------------- -----------------
M-Web M-Archive

1 x [[M-Web]]

* [[VM-Web]]: Nginx, Pyramid Web, Pyramid Api, Tryton, Db
* [[VM-Processing]]: Processingscript
* [[VM-Dropper]]: Intermedieate file storage not connected to internet
* [[VM-Storage]]: Sambaserver: Mounts in VM-Web, VM-Pro, VM-Dro
* [[VM-Content]]: Previews, Sambaserver: Mount in VM-Web
* [[VM-Echoprint]]: Queryserver, Indexserver

1 x [[M-Archive]]

* [[VM-Archive]]: Archiving
* [[VM-Integritytests]]: Integritytests

### Optimal Setup

1 x [[M-Nginx]]

* [[VM-Nginx]]: Dispatcher, Loadbalancer

1 x [[M-Database]]

* [[VM-Database]]: Db, Tryton

n x [[M-Web]]

* [[VM-Web]]: Pyramid Web, Pyramid Api

n x [[M-Processing]]

* [[VM-Processing]]: Processingscript (Preview)
* [[VM-Processing]]: Processingscript (Checksum)
* [[VM-Processing]]: Processingscript (Fingerprint)
* [[VM-Dropper]]: Intermedieate file storage not connected to internet
* [[VM-Storage]]: Sambaserver: Mounts in VM-Web, VM-Processing

n x [[M-Content]]

* [[VM-Content]]: Static Fileserver

n x [[M-Archive]]

* [[VM-Archive]]: Archiving
* [[VM-Integritytests]]: Integritytests

1 x [[M-EchoprintQuery]]

* [[VM-EchoprintQuery]]: Queryserver for Echoprint

n x [[M-EchoprintIndex]]

* [[VM-EchoprintIndex]]: Indexserver for Echoprint

### List

{{child_pages}}