GithubHelp home page GithubHelp logo

knightwhosayni / grpc-sandbox Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 9 KB

Sandbox to get familiar with gRPC for Python

License: MIT License

Python 96.68% Shell 3.32%
python3 grpc grpc-python service docker docker-compose tutorial

grpc-sandbox's Introduction

grpc-sandbox

Build Status GitHub license

Usage

docker-compose build
docker-compose up
Recreating grpc-sandbox_server_1 ... done
Recreating grpc-sandbox_client_1_1 ... done
Recreating grpc-sandbox_client_2_1 ... done
Attaching to grpc-sandbox_server_1, grpc-sandbox_client_1_1, grpc-sandbox_client_2_1
server_1    | Starting server. Listening on port 5000
client_1_1  | 2019-10-20 20:41:53.832657 S <- C: [Alice] Hello World 0
server_1    | 2019-10-20 20:41:53.854774 S <- C: [Alice] Hello World 0
server_1    | 2019-10-20 20:41:53.855235 S -> C: [Echo] HELLO WORLD 0
client_1_1  | 2019-10-20 20:41:53.881134 S -> C: [Echo] HELLO WORLD 0
client_2_1  | 2019-10-20 20:41:53.938486 S <- C: [Bob] Hello World 0
server_1    | 2019-10-20 20:41:53.957453 S <- C: [Bob] Hello World 0
server_1    | 2019-10-20 20:41:53.957628 S -> C: [Echo] HELLO WORLD 0
client_2_1  | 2019-10-20 20:41:53.958541 S -> C: [Echo] HELLO WORLD 0
client_1_1  | 2019-10-20 20:41:54.082422 S <- C: [Alice] Hello World 1
server_1    | 2019-10-20 20:41:54.087200 S <- C: [Alice] Hello World 1
server_1    | 2019-10-20 20:41:54.087299 S -> C: [Echo] HELLO WORLD 1
client_1_1  | 2019-10-20 20:41:54.088156 S -> C: [Echo] HELLO WORLD 1
client_2_1  | 2019-10-20 20:41:54.161530 S <- C: [Bob] Hello World 1
server_1    | 2019-10-20 20:41:54.164850 S <- C: [Bob] Hello World 1
server_1    | 2019-10-20 20:41:54.165076 S -> C: [Echo] HELLO WORLD 1
client_2_1  | 2019-10-20 20:41:54.166524 S -> C: [Echo] HELLO WORLD 1
client_1_1  | 2019-10-20 20:41:54.289487 S <- C: [Alice] Hello World 2
server_1    | 2019-10-20 20:41:54.292826 S <- C: [Alice] Hello World 2
server_1    | 2019-10-20 20:41:54.293130 S -> C: [Echo] HELLO WORLD 2
client_1_1  | 2019-10-20 20:41:54.294202 S -> C: [Echo] HELLO WORLD 2
server_1    | 2019-10-20 20:41:54.371392 S <- C: [Bob] Hello World 2
server_1    | 2019-10-20 20:41:54.371555 S -> C: [Echo] HELLO WORLD 2
client_2_1  | 2019-10-20 20:41:54.367946 S <- C: [Bob] Hello World 2
client_2_1  | 2019-10-20 20:41:54.372082 S -> C: [Echo] HELLO WORLD 2
client_1_1  | 2019-10-20 20:41:54.497225 S <- C: [Alice] Hello World 3
server_1    | 2019-10-20 20:41:54.500021 S <- C: [Alice] Hello World 3
server_1    | 2019-10-20 20:41:54.500175 S -> C: [Echo] HELLO WORLD 3
client_1_1  | 2019-10-20 20:41:54.500910 S -> C: [Echo] HELLO WORLD 3
client_2_1  | 2019-10-20 20:41:54.572823 S <- C: [Bob] Hello World 3
client_2_1  | 2019-10-20 20:41:54.576762 S -> C: [Echo] HELLO WORLD 3
server_1    | 2019-10-20 20:41:54.575450 S <- C: [Bob] Hello World 3
server_1    | 2019-10-20 20:41:54.575635 S -> C: [Echo] HELLO WORLD 3
server_1    | 2019-10-20 20:41:54.708757 S <- C: [Alice] Hello World 4
server_1    | 2019-10-20 20:41:54.708901 S -> C: [Echo] HELLO WORLD 4
client_1_1  | 2019-10-20 20:41:54.706774 S <- C: [Alice] Hello World 4
client_1_1  | 2019-10-20 20:41:54.709690 S -> C: [Echo] HELLO WORLD 4
client_2_1  | 2019-10-20 20:41:54.777729 S <- C: [Bob] Hello World 4
server_1    | 2019-10-20 20:41:54.780526 S <- C: [Bob] Hello World 4
server_1    | 2019-10-20 20:41:54.780676 S -> C: [Echo] HELLO WORLD 4
client_2_1  | 2019-10-20 20:41:54.781935 S -> C: [Echo] HELLO WORLD 4
grpc-sandbox_client_1_1 exited with code 0
grpc-sandbox_client_2_1 exited with code 0
grpc-sandbox_server_1 exited with code 0

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.