My gRPC experiments
git clone https://github.com/Sean-Bradley/Seans-gRPC.git
$ virtualenv venv
$ source venv/Scripts/activate
$ pip install -r requirements.txt
python -m server
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.
python -m multiprocess
10000 Messages in 2.18 seconds with Python and gRPC
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