envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.28k stars 4.69k forks source link

May I know about the performance of the gRPC-JSON Transcoder ? #34399

Open eottabom opened 1 month ago

eottabom commented 1 month ago

Title: May I know about the performance performance of the grpcson trancoder?

Description:

A client -> (rest) -> B server and A Client -> (rest) -> envoy -> (transcoder) -> (grpc) -> B Server

When I did the performance test, it was confirmed that the performance improved when the response size was small. (About 1.5 times the TPS?)

However, since envoy is unable to decompress the gRPC response, we have identified the problem of increasing the response size in the end.

Have you ever done a performance test on this?

And how much performance penalty will there be if Transcoder is used?

ex)

A Client -> (grpc) > B Client and A Client -> (rest) -> envoy -> (transcoder) -> (grpc) -> B Server

(The above configuration is a simple example, and I think only communication should be changed while being configured the same considering network hops.)

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.