10000 Messages in 2.18 seconds with Python and gRPC

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=dQK0VLahrDk



Duration: 48:42
28,358 views
399


GitHub - https://github.com/Sean-Bradley/Seans-gRPC
Digital Ocean - https://m.do.co/c/23d277be9014
gRPC - https://grpc.io/

I used several servers from Digital Ocean in this video : https://m.do.co/c/23d277be9014 ($50 FREE Credit for 30 days)
Alternatively, I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : https://hetzner.cloud/?ref=9P2JvW3y3OBA

In this video I write a gRPC server, a client and a multi-process client using python.

I manage to process 10000 messages from the gRPC clients on the gRPC server in 2.5 seconds.

Actually, my best result was 10000 processed requests in 2.18 seconds.

I then setup the gRPC server in Singapore, a multi-process gRPC client in Frankfurt, and a multi-process gRPC client in London and measure the speed again.







Tags:
grpc
protobuf
protoc
python
digital ocean
low latency
protocol buffer