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.5.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for orchestrator_service-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45e7baa5fc0585fab0b5880b6710fc797ab8cba71b7946a759e4c6e06290fab4 |
|
MD5 | e1d342535b8151e1b9ef49c757803341 |
|
BLAKE2b-256 | dee2ed0f1563b8fbbed39efeb21361e1fa5d31e4024f1c4bc8ccab977b479429 |
Close
Hashes for orchestrator_service-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e9be3edf2f7b49269a1536f2fc33e0340e8155b60c2f730cf56b070cd5835f5 |
|
MD5 | b9881b333910d100dc1a8de76b1488f3 |
|
BLAKE2b-256 | 27734d4026ea4cf8dddbe6c9a0d59015266b3c16b4d4899d57590eca55f8979b |