What gRPC language are you using? On Thursday, November 21, 2024 at 9:25:00 PM UTC+5:30 Suraj Kottayi wrote:
> What version of gRPC and what language are you using? > > gRPC : v1.37.1 > protobuf : v3.15.2 > What operating system (Linux, Windows,...) and version? > > Yocto dunfell > What runtime / compiler are you using (e.g. python version or version of > gcc) > > gnu 9.3 > What did you do? > > 1. Called synchronous RPC call through an insecure channel > 2. The RPC call is delegated into a UDS (unix domain socket) > 3. Another app reads this socket, performs tls authentication and send > it to remote server > 4. The proto files are custom cannot be shared, but contains huge no > of messages. > > What did you expect to see? > > - CPU usage to be same as that of connection with a local server. > - Client-Local Server (local server running on the same hardware) > direct communication consumed less CPU > > What did you see instead? > > - Client-Remote Server (server running on remote) indirect > communication through another app (for tls authentication) consumes higher > CPU. > > [image: cpu_high] > <https://private-user-images.githubusercontent.com/138424950/385147853-6e53d4dd-9793-4f52-9b30-7b31e962ab69.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzIxNjk5NzMsIm5iZiI6MTczMjE2OTY3MywicGF0aCI6Ii8xMzg0MjQ5NTAvMzg1MTQ3ODUzLTZlNTNkNGRkLTk3OTMtNGY1Mi05YjMwLTdiMzFlOTYyYWI2OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMTIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTEyMVQwNjE0MzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMjYxZmFmZGI1MjdkZDE2ZWQ1ZDBhZjk3ZmRjZjY2NDJhZWRiZTgzNTJiNzE3MTAxNDdhNjBlN2EyNWQyOWRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.iuIVRlLTnzW685QaU39XYRR9APfOZ_qdOY7iTO0q7HI> > > Make sure you include information that can help us debug (full error > message, exception listing, stack trace, logs). > > See TROUBLESHOOTING.md > <https://github.com/grpc/grpc/blob/master/TROUBLESHOOTING.md> for how to > diagnose problems better. > Anything else we should know about your project / environment? -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/grpc-io/3d83f5dd-fc56-4b2d-beec-72430f99e4d3n%40googlegroups.com.