Update docs/platform_basics_brainstorming_2019-04-17.md

This commit is contained in:
Stephan Porada 2019-07-01 14:53:33 +02:00
parent cdd16f8401
commit 96b1c24aca

View File

@ -2,6 +2,7 @@
- **Solutions**: - **Solutions**:
- Apache (with mod WSGI) - Apache (with mod WSGI)
- or nginx (with gunicorn I guess) - or nginx (with gunicorn I guess)
- **Goal/Function**:
- Serves content - Serves content
- handels HTTP requests etc. - handels HTTP requests etc.
- serves forms for user request and inputs - serves forms for user request and inputs
@ -17,6 +18,7 @@
- **Solutions**: - **Solutions**:
- Flask-Login (minimal) - Flask-Login (minimal)
- Flask-Session (maybe a bit more functions) - Flask-Session (maybe a bit more functions)
- **Goal/Function**
- handels both internal and external users - handels both internal and external users
- Relational Database - Relational Database
- **Solutions**_ - **Solutions**_
@ -28,6 +30,7 @@
### Manager Service: ### Manager Service:
- Part of the Application Server - Part of the Application Server
- manages also files on file server
- Joblist - Joblist
- **Solution**: - **Solution**:
- http://www.celeryproject.org/ - http://www.celeryproject.org/
@ -37,29 +40,27 @@
- REST API - REST API
- **Solution** - **Solution**
- Flask internal - Flask internal
- **Goal/Function**
- Passes requests to the joblist/celery - Passes requests to the joblist/celery
- Functions: - Functions:
- create_job - create_job
- delete_job - delete_job
- get_job (JSON Object or metadata or both?) - get_job (JSON Object or metadata or both?)
- alter_job - alter_job
- manages also files on file server
## Compute pool: Docker Cluster ## Compute pool: Docker Cluster
- Solutions: - **Solutions**:
- Kubernetes - Kubernetes
- swarm - swarm
- **Goal/Function**
- How to handle job and resource management for user Jobs and processes. - How to handle job and resource management for user Jobs and processes.
- gets requests and tasks from the manager - gets requests and tasks from the manager
## File Server (Scans, pdfs etc.) ## File Server (Scans, pdfs etc.)
- **Goal/Function**
- stores user input and - stores user input and
- output files - output files
- Maybe WebDAV - **Solutions**:
- WebDAV/Samba
## Database
- document based data base like mongoDB preferred
- could be possible that a python framework for jobs and tasks exist
mongo Db would not be necessary then