1/13
Looks like no tags are added yet.
What is gRPC?
gRPC is a high-performance, open-source universal remote procedure call framework developed by Google allowing applications to communicate efficiently in microservices.
What is the interface description language used by gRPC?
gRPC uses Protocol Buffers (protobufs) as its interface description language (IDL).
What major protocol does gRPC operate on?
gRPC is built on HTTP/2.
What feature of gRPC allows for multiple requests over a single connection?
Multiplexing is a feature of HTTP/2 that allows gRPC to handle multiple requests over a single connection.
What does bi-directional streaming in gRPC mean?
It allows clients and servers to send messages in both directions simultaneously.
List some programming languages that gRPC supports.
gRPC supports C++, Java, Python, Go, Ruby, C#, among others.
What security feature does gRPC provide for data transmission?
gRPC provides built-in support for authentication via mechanisms like SSL/TLS.
What is a Service in gRPC?
A Service defines the methods that can be called remotely.
What role does the Server play in gRPC?
The Server implements service methods and listens for incoming RPC calls.
What is the Client's function in gRPC?
The Client makes calls to the server's methods and packages the request over the network.
What is a Channel in gRPC?
A Channel is an abstraction for a TCP connection to a gRPC server managing network communication.
What are Stubs in gRPC?
Stubs are client-side representations of gRPC services that allow calling service methods like local functions.
Provide an example of defining a service in gRPC.
service Greeter { rpc SayHello(HelloRequest) returns (HelloResponse); }
How is a service implemented on the server side in Python?
class GreeterServicer(greeterpb2grpc.GreeterServicer): def SayHello(self, request, context): return greeter_pb2.HelloResponse(message='Hello, ' + request.name)