BioMAJ daemon service
Project description
# About
Microservice to manage biomaj, acts as a frontend to receive biomaj-cli commands and execute operations
Needs mongo and redis
# Development
flake8 –ignore E501 biomaj_daemon
# Run
## Message consumer:
export BIOMAJ_CONFIG=path_to_config.yml python bin/biomaj_daemon_consumer.py
## Web server
If package is installed via pip, you need a file named gunicorn_conf.py containing somehwhere on local server:
- def worker_exit(server, worker):
from prometheus_client import multiprocess multiprocess.mark_process_dead(worker.pid)
If you cloned the repository and installed it via python setup.py install, just refer to the gunicorn_conf.py in the cloned repository.
export BIOMAJ_CONFIG=path_to_config.yml rm -rf ..path_to/godocker-prometheus-multiproc mkdir -p ..path_to/godocker-prometheus-multiproc export prometheus_multiproc_dir=..path_to/godocker-prometheus-multiproc gunicorn -c ../path_to/gunicorn_conf.py biomaj_daemon.daemon.biomaj_daemon_web:app
Web processes should be behind a proxy/load balancer, API base url /api/daemon
- 3.0.6:
Fix logging for monolithic setup Add whatsup option Fix prometheus stats
- 3.0.5:
Fix for python 2.x
- 3.0.4:
Fix status page with other services Add missing README in package
- 3.0.3:
Fix missing parameters
- 3.0.2:
Move options to management to utils for reuse Fix –about-me
- 3.0.1:
Micro service to manage biomaj updates
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file biomaj_daemon-3.0.6.tar.gz
.
File metadata
- Download URL: biomaj_daemon-3.0.6.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a041cd3dc71ce0a2bc9fcb1dfbc0f83123bf7051c743b4a490b9aec939866d |
|
MD5 | cfdebefa725aa749606b1cb14605637b |
|
BLAKE2b-256 | bd321d2c73c98b936512473e55fec3e6a08f26b36b9a1a1f1ac1cdf4c7eefc1d |
File details
Details for the file biomaj_daemon-3.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: biomaj_daemon-3.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db9ecba4a7edef911596c331b1833c37b7232c790f118e59e1cf8b9acc268953 |
|
MD5 | 6f14f4a39ca0b769f04681f7953e7988 |
|
BLAKE2b-256 | 2c5d992cdcddf8a0d9fad19804c098a975ade26960ef27b02a5020fdc782dd1f |