Library for fast build service and interaction management
Project description
orch_serv
A library for microservice architecture, for interconnected services with different execution sequences, for orchestration services designed for such kind of services relationships.
Installation
pip install orch_serv
Problem
We have a microservice architecture
Your architecture has many services. Each individual service performs its own task. You need to set up the sequence of interactions between services, taking into account that one service can be connected to others and fired in a different sequence.
Example:
Task | Service execution sequence |
---|---|
Task1 | service1 -> service2 -> service3 |
Task2 | service2 -> service4 -> service1 |
... | ... |
TaskN | service3 -> service2 -> ... -> serviceM |
For centralized management of the services interactions, we offer an orchestrator: service containing valid block connections.
What you need to do in the orchestrator service:
- create blocks with known interaction logic with the services they belong to,
- create accessible flows from these blocks (for different tasks there can be your specific flows, it is important to use unique flow names),
- define a message for the interaction of services, such that they have a single standard and override key methods,
- initialize the orchestrator and use,
- More details.
What you need to use the service:
- define a message for the interaction of services, such that they have a single standard and override key methods,
- define the commands in the service which are going to be executed and what to do after the main task is completed (this is divided to separate the logic).
- More details
Bonus
Added functionality for the formation of a sequence of steps - details here
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
File details
Details for the file orch_serv-0.1.6.tar.gz
.
File metadata
- Download URL: orch_serv-0.1.6.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c5c715d471314f5e6bde57aa9fa1c1414f57c09e1cbc764a2be8e94ba66ef0 |
|
MD5 | 7c6a671432115e5ff5e057a2ba32fc74 |
|
BLAKE2b-256 | 25e1242e7ad7b6e4f0da7e0fbaa8bff6b3ee1a5bf5098c87096c5a4c0b8ec709 |