Skip to main content

Library for fast build service and interaction management

Project description

orch_serv

Coverage Status Coverage Status

Coverage Status Coverage Status

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

orch_serv-0.1.4.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orch_serv-0.1.4-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file orch_serv-0.1.4.tar.gz.

File metadata

  • Download URL: orch_serv-0.1.4.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for orch_serv-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5fe886d5f4a241890782ff19c281fd0ca578b7d79827bb70b5b33513e2323f9b
MD5 6dd83dc876da119c09f3cf89015ec2b5
BLAKE2b-256 fbda111740b6f2dd2763674e7501e316780a2164275066104aa963b081dcbcdd

See more details on using hashes here.

File details

Details for the file orch_serv-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: orch_serv-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for orch_serv-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ca0c690a8dd6b49801536004471e86f13e68ebe3e12c71c759cefd1952e2905
MD5 1a57d32e0a3eb2d607523c041aa96358
BLAKE2b-256 8a294213ff2331f5a8f21bb42f132e7d8d391130cc8115f64559ff9cf4a1af51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page