Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.18 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.18 KB

orchestrator-service

An RPC Orchestration Service is created such that: Request Sequence: Client --> PORT9000 --> PORT9001--> PORT10000 Response Sequence: Client <-- PORT9000 <-- PORT9001 <-- PORT10000

Directions for installing the gRPC dependencies: Install all dependencies by running "make install" in the terminal OR by following the below steps:

  1. Ensure pip is updated -> python -m pip install --upgrade pip
  2. Install gRPC using pip by running -> python -m pip install grpcio
  3. Next, install the grpc tools required by running -> python -m pip install grpcio-tools Note: Further details to getting started with gRPC with python available at - https://grpc.io/docs/languages/python/quickstart/

Directions for executing the service:

  1. Copy the directory to your computer as is
  2. Start the servers one by one in your terminal windows, starting with server_9000.py
  3. Start server_9001.py
  4. Start dummy-server.py located in /datamock/ (this will serve and return the User objected generated from user's name)
  5. Finally start client.py and answer the query which pops up

There will be a distinguishable message on each terminal indicating how the message is propogated/orchestrated