Skip to content

RemyNtshaykolo/Seans-gRPC

 
 

Repository files navigation

Seans-gRPC

My gRPC experiments

setup

git clone https://github.com/Sean-Bradley/Seans-gRPC.git
$ virtualenv venv
$ source venv/Scripts/activate
$ pip install -r requirements.txt

Start Server

python -m server

Start Client

python -m client

While the server and 1 or more clients are running, the clients will send small messages to the server, the server will periodically log to the console how many incoming messages it received and responded to. The clients will also periodically log to the console how many they sent and got a response for.

Start Multiple clients in sperate processes

python -m multiprocess

Video Tutorial

10000 Messages in 2.18 seconds with Python and gRPC

10000 Messages in 2.18 seconds with Python and gRPC

Design Patterns In Python

To help support my Python projects, please check out my book titled Design Patterns In Python

   https://www.amazon.com/dp/B08XLJ8Z2J
   https://www.amazon.co.uk/dp/B08XLJ8Z2J
   https://www.amazon.in/dp/B08Z282SBC
   https://www.amazon.de/dp/B08XLJ8Z2J
   https://www.amazon.fr/dp/B08XLJ8Z2J
   https://www.amazon.es/dp/B08XLJ8Z2J
   https://www.amazon.it/dp/B08XLJ8Z2J
   https://www.amazon.co.jp/dp/B08XLJ8Z2J
   https://www.amazon.ca/dp/B08XLJ8Z2J
   https://www.amazon.com.au/dp/B08Z282SBC

ASIN : B08XLJ8Z2J / B08Z282SBC


Thanks

Sean

About

examples for my grpc tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%