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.
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).
Bonus
Added functionality for the formation of a sequence of steps.
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
Built Distribution
File details
Details for the file orch_serv-0.1.3.tar.gz
.
File metadata
- Download URL: orch_serv-0.1.3.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e3353cf74c62a4ae4c25d6d2e9f0a7c5e916cdb4a03cb8c9c83d5e53a9ffa86 |
|
MD5 | 6bfe3740eb2041f827feda520f33b094 |
|
BLAKE2b-256 | 5b1fe8597d6324320b88bf194360329be02503c40e8142911a82732fff2d4817 |
File details
Details for the file orch_serv-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: orch_serv-0.1.3-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5628961a971cced0326c4bda6978b15e2effef94b3d7ed0f0de39d2606966e01 |
|
MD5 | 3520a68507e9b2caa7402c6f4b26c1fe |
|
BLAKE2b-256 | 0d4c732f43a3bb34a4e1c35c6d47df5779889884084852d89fa245f55ea4bd87 |