Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
cdd16f84
Commit
cdd16f84
authored
5 years ago
by
Stephan Porada
Browse files
Options
Downloads
Patches
Plain Diff
Update docs/platform_basics_brainstorming_2019-04-17.md
parent
b8fa8f47
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/platform_basics_brainstorming_2019-04-17.md
+46
-20
46 additions, 20 deletions
docs/platform_basics_brainstorming_2019-04-17.md
with
46 additions
and
20 deletions
docs/platform_basics_brainstorming_2019-04-17.md
+
46
−
20
View file @
cdd16f84
## Manager Service:
-
Joblist
-
Thread safe
-
REST API (https://github.com/zalando/connexion)
-
CreateNewJob
-
DelteJobs
-
GetJobInfo
-
AlterJob
-
Scheduling
-
Ressource management
-
manages also files on file server
## Web Server
-
serves content.
-
**Solutions**
:
-
Apache (with mod WSGI)
-
or nginx (with gunicorn I guess)
-
Serves content
-
handels HTTP requests etc.
-
serves forms for user request and inputs
-
has copy of Joblist to display those for the user according to requests etc.
-
talks to the Manager service
-
Users CANNOT talk directly with the manager
-
has list of all currently running user sessions (maybe used for authentication)
## Authentication via LDAP (not sure if we need that)
-
university internal authentication with LDAP
-
LDAP and connexion can use (OAuth 2)
-
https://ldapwiki.com/wiki/Best%20Practices%20for%20LDAP%20Security
-
https://connexion.readthedocs.io/en/latest/security.html?highlight=authentication
-
university external authentication with something else
## Application Server
-
**Solution**
: Flask
### Authentication and session management
-
**Solutions**
:
-
Flask-Login (minimal)
-
Flask-Session (maybe a bit more functions)
-
handels both internal and external users
-
Relational Database
-
**Solutions**
_
-
PostgreSQL
-
MariaDB
-
Object Relational Mapper
-
**Solutions**
:
-
Flask-SQLAlchemy
### Manager Service:
-
Part of the Application Server
-
Joblist
-
**Solution**
:
-
http://www.celeryproject.org/
-
Thread safe
-
Scheduling
-
Ressource management
-
REST API
-
**Solution**
-
Flask internal
-
Passes requests to the joblist/celery
-
Functions:
-
create_job
-
delete_job
-
get_job (JSON Object or metadata or both?)
-
alter_job
-
manages also files on file server
## Compute pool: Docker Cluster
-
Solutions:
-
Kubernetes
-
swarm
-
How to handle job and resource management for user Jobs and processes.
-
gets requests and tasks from the manager
## File Server
## File Server
(Scans, pdfs etc.)
-
stores user input and
-
output files
-
Maybe WebDAV
## 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment