Skip to main content

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).

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.1.tar.gz (19.4 kB view hashes)

Uploaded Source

Built Distribution

orch_serv-0.1.1-py3-none-any.whl (26.3 kB view hashes)

Uploaded Python 3

Supported by

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