orchestrator_service for microservices architecture
Project description
orchestrator
- convenient configuration of interaction between services in microservice architecture
Installation
pip install orchestrator-service
Problem
The application has a lot of services for performing tasks. Each service performs its own task. Different services bundles are used to perform different tasks.
Example:
Task | Service execution sequence |
---|---|
Task1 | service1 -> service2 -> service3 |
Task2 | service2 -> service4 -> service1 |
... | ... |
TaskN | service3 -> service2 -> ... -> serviceM |
In order to centralized control the permissible sequence of execution of services for different tasks, we offer you an orchestrator.
________________
| |
| service2 |
|______________|
|
|
____|____
| queue |
|_______|
|
|
________________ ________________ ________________
| | _________ | | _________ | |
| service1 | ----->| queue | ----->| orchestrator | ----->| queue | ----->| serviceN |
|______________| |_______| |______________| |_______| |______________|
|
|
_________
| queue |
|_______|
|
|
_______|________
| |
| service3 |
|______________|
Pros:
- centralized control
- easy expansion
- easy setup
- reuse of services in different tasks
What is needed to be implemented in current architectures
- implement block for the corresponding service
- add a
source
to messages (the name of the service to which the corresponding block in the orchestrator should be) - add a
flow
to messages (similarly as the source) - redefine blocks for the desired type of queue
Bonus:
- service for build microservice architecture.
Future plans:
- add async functions to orchestrator
- add handler for incorrect messages to service
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
orchestrator_service-0.0.8.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for orchestrator_service-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69950606e7cf3a71dffae1b9faf094d517b7be1edb0c719e84dc2af707757dfb |
|
MD5 | 372311e4ecfdb19ac84171f7ec275dfe |
|
BLAKE2b-256 | 12aaf4b835dcd48e3d52df523f61a36fdf19414c5bda6d9221d5bc28b076f53f |
Close
Hashes for orchestrator_service-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47e81fff7665f7682093cd5e8d5ee7cddb5faa83d63dc0ae9f9e2af83886b94e |
|
MD5 | fed673e08f7cc62b0ab047f5fd966579 |
|
BLAKE2b-256 | b4744beca4c87bd74db902aaac5fe231979da0367272e2cdeee8904bb3d64827 |