llucax / python-grpc-benchmark

A simple benchmark comparing Google's protobuf/grpc.aio with betterproto/grpclib
MIT License
3 stars 1 forks source link

Test the combination protobuf/grpclib #1

Open llucax opened 5 months ago

llucax commented 5 months ago

Betterproto seems to depend on grpclib, but not the other way around, so another option might be to use the official protobuf Python files generation but using grpclib for gRPC instead of grpcio.

We are observing performance differences between betterproto using grpclib and Google generated code using grpcio, but we don't know if this performance difference comes from the generated code, grpclib/io or both.