Skip to content

Shchusia/orchestrator_service

Repository files navigation

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.

file not found

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages