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.7.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for orchestrator_service-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5915cb002d84e391756b93eeeeeefc2515a3bb467b6e83eeadbaa7facc56933 |
|
MD5 | f8a14fd70af6f4fe422479f8bcf3a8df |
|
BLAKE2b-256 | 7e7dc4168053bab8a79f5d31e9d9209a59232272e127d53a6e223300341f372c |
Close
Hashes for orchestrator_service-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0354055744e11c04cbf1dfe81fda4608dd9eb7aa35d4191a941dfecbc65dd029 |
|
MD5 | 1f334500deeedaaf3e596c2fbe64a351 |
|
BLAKE2b-256 | 1752e0f4ecc2a831f1deb383bb9a088ed4c0931c03523cc210cec53bfc1175d0 |