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.6.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for orchestrator_service-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbad5be4d88f01be541ddfbc9af0c5e59ea72c4dbd994aa2feb018e956030f67 |
|
MD5 | ec90d3f4b3e57cf38ceef6376b5b4eed |
|
BLAKE2b-256 | f18295d0e4d37f1da1493dbc1061e40b5041a16ab824a056e582020add34e88f |
Close
Hashes for orchestrator_service-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d27e9766c61bda4003624d45382f1119d0c5502bf78f2a33e03828fe1f0fc6c3 |
|
MD5 | 7a412c48e7434b96c7d72deb054fd92e |
|
BLAKE2b-256 | ad3000680b33ab5d568fe66c01dde5ab1c3f749c51efae9a9a42d4ace77edab1 |