RPC

gRPC

gRPC is a modern open source high performance RPC framework that can run in any environment.

  • Efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking, and authentication.
  • Applicable in last mile of distributed computing to connect devices, mobile apps, and browsers to backend services.

Companies that use it:

  • Boston Dynamics
  • Neuralink

Got to work on this in my Neuralink take-home challenge!

Resources

Is this like ZeroMQ?

https://stackoverflow.com/questions/39350681/grpc-and-zeromq-comparsion

Is this like ROS?

gRPC seems to be built like something that scales for microservices. ROS doesn’t really do that.

gRPC is built on the idea of services.

// The greeting service definition.
service Greeter {
  // Sends a greeting
  rpc SayHello (HelloRequest) returns (HelloReply) {}
}
 
// The request message containing the user's name.
message HelloRequest {
  string name = 1;
}
 
// The response message containing the greetings
message HelloReply {
  string message = 1;
}