Hi,
Please refer to the following links for basic understanding of gRPC.

https://grpc.io/docs/what-is-grpc/core-concepts/
https://stackoverflow.com/questions/58429357/should-i-transmit-large-data-sets-via-grpc-without-manual-chunking

To answer your questions.
1. Yes the example shown is a unary RPC.
2. Depending on implementation it can be server side of client side 
streaming.

--Vinod
On Sunday, March 20, 2022 at 3:40:44 AM UTC+5:30 MD ATIF BIN KARIM wrote:

> I am using the following message in protocol buffer
>
> syntax = "proto3";
>
> package demo_grpc;
>
> message S_Response {
> string name = 1;
> string street = 2;
> string zip = 3;
> string city = 4;
> string country = 5;
>
> int32 double_init_val = 6;
> }
>
> message C_Request {
> uint32 choose_area = 1;
> string name = 2;
> int32 init_val = 3;
> }
>
> service AddressBook {
> rpc GetAddress(C_Request) returns (S_Response) {}
> }
>
> I have set up all of the values for the `C_Request` and pass them to the 
> server where 
> `S_Response` messages fields are processed and returned back to the client.
>
> My question is--
> 1/ May I call it a Unary RPC?
> 2/ I want to in next stage pass a very large data (around 10GB, probably a 
> vector or array
> not a file as far I know). And have found that I have to pass it via small 
> chunk. That large
> vector related data field will be resided in a single message.
> What will be name of this type of RPC(eg: Bidirectional streaming RPC)?
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/grpc-io/c677a4c9-f6da-4713-aca9-08914e4b4d1cn%40googlegroups.com.

Reply via email to