Skip to main content

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.2:

add logging info execute docker processes in biomaj micro service

3.0.1:

bug fixes

3.0.0:

move process management out of biomaj main package

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biomaj_process-3.0.2.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

biomaj_process-3.0.2-py2.py3-none-any.whl (14.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file biomaj_process-3.0.2.tar.gz.

File metadata

File hashes

Hashes for biomaj_process-3.0.2.tar.gz
Algorithm Hash digest
SHA256 daec5b5e3f4c857a967e2fe97010c0c2815e286e82044e0f7c20ff5030f82473
MD5 10f5cbf55cd99e210fb33cf5010ad866
BLAKE2b-256 9ef89937431a34a5b68da78fc89c71d4d83f11b4c19237e36aaca5e83d9d1398

See more details on using hashes here.

File details

Details for the file biomaj_process-3.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for biomaj_process-3.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ee5fe4e385677ae6bf805c019d108cb87a483d2f7a7f2b69ea94cfcbb4de5019
MD5 3c1b88468850a6d7eb279d933c385924
BLAKE2b-256 bd51901aead06473c5e294a9695c33079a9590ab4cbd66ab9d3d3a9330a4d9b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page