BioMAJ process service
Project description
# About
Experimental (in progress) microservice to manage the process execution of biomaj.
A protobuf interface is available in biomaj_process/message/message_pb2.py to exchange messages between BioMAJ and the download service. Messages go through RabbitMQ (to be installed).
# Protobuf
To compile protobuf, in biomaj_process/message:
protoc –python_out=. message.proto
# Development
flake8 biomaj_process
# Prometheus metrics
Endpoint: /api/process/metrics
# Run
## Message consumer: export BIOMAJ_CONFIG=path_to_config.yml python bin/biomaj_process_consumer.py
## Web server
export BIOMAJ_CONFIG=path_to_config.yml gunicorn biomaj_download.biomaj_process_web:app
Web processes should be behind a proxy/load balancer, API base url /api/download
- 3.0.1:
bug fixes
- 3.0.0:
move process management out of biomaj main package
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_process-3.0.1.tar.gz
.
File metadata
- Download URL: biomaj_process-3.0.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2e09a95a4a6de88b1f1a0baf9e58748ea199085e6cbe660cfdae4b58745a2dc |
|
MD5 | 0b1051c2ec2ce49f15abf90edac0abce |
|
BLAKE2b-256 | b0bd3637129cfd100904d62166f4de692a147308ada9feae42793f32ee1fe905 |
File details
Details for the file biomaj_process-3.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: biomaj_process-3.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900b7bdf69752147bce02cd19a7f6e6c4d360d0af40af5a2fc6a1a4ae9cc9203 |
|
MD5 | 1f1ef0b9a80e50241bf578a95f9af50e |
|
BLAKE2b-256 | 70baf5be77c8daf366ff59ecf303d3c6dce13d03a8a3452685abb60eaad55ffe |