Skip to main content

orchestrator for microservices architecture

Project description

orchestrator - convenient configuration of interaction between services in microservice architecture

Installation

pip install orchestrator-service

Problem

The application has a lot of services for performing tasks. Each service performs its own task. Different services bundles are used to perform different tasks.

Example:

Task Service execution sequence
Task1 service1 -> service2 -> service3
Task2 service2 -> service4 -> service1
... ...
TaskN service3 -> service2 -> ... -> serviceM

In order to centralized control the permissible sequence of execution of services for different tasks, we offer you an orchestrator.

                                      ________________
                                      |              |
                                      |   service2   |
                                      |______________|
                                             |
                                             |                                       
                                         ____|____                                       
                                         | queue |                                       
                                         |_______|  
                                             |                                                                                                                        
                                             |
________________                       ________________                       ________________
|              |       _________       |              |       _________       |              |
|   service1   | ----->| queue | ----->| orchestrator | ----->| queue | ----->|   serviceN   |
|______________|       |_______|       |______________|       |_______|       |______________|
                                             |
                                             |                                       
                                         _________                                       
                                         | queue |                                       
                                         |_______|  
                                             |
                                             |                                                                                                                        
                                      _______|________
                                      |              |
                                      |   service3   |
                                      |______________|

Pros:

  • centralized control
  • easy expansion
  • easy setup
  • reuse of services in different tasks

What is needed to be implemented in current architectures

  • implement block for the corresponding service
  • add a source to messages (the name of the service to which the corresponding block in the orchestrator should be)
  • add a flow to messages (similarly as the source)
  • redefine blocks for the desired type of queue

Bonus:

  • service for build microservice architecture.

Future plans:

  • add async functions to orchestrator
  • add handler for incorrect messages to service

more details in examples

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

orchestrator_service-0.0.4.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

orchestrator_service-0.0.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file orchestrator_service-0.0.4.tar.gz.

File metadata

  • Download URL: orchestrator_service-0.0.4.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for orchestrator_service-0.0.4.tar.gz
Algorithm Hash digest
SHA256 be3b3dbefd65ee89e249673e22864c019254aa8d3a2604aeb2a2dd9b778f06e9
MD5 faa36dd2a346d6dfde440440a0cf86b5
BLAKE2b-256 3479d5976daf5cf8f9c8d3077b86030bb4eaa899bb17d904eb7451b07f60d12d

See more details on using hashes here.

File details

Details for the file orchestrator_service-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: orchestrator_service-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for orchestrator_service-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5243e1b6f3b759f565cc14ef6f36ac60b13c910f66ee0f4ed0022065c00190a4
MD5 704ad77e00bee21d391fe9c5e6ef2f25
BLAKE2b-256 24b22ebc05383940098f60ad86605a656b6448a87933d22ef511bec38e0c6dd7

See more details on using hashes here.

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