I have written sample program to test perfromance of rest vs grpc, but in 
my test rest is faster than grpc.
load test 10k request with 100 req parallel, sample request and response is 
as below
Req: {
"emp_id": "34"
}

Resp:
{
    "emp_id": "34",
    "name": "abc",
    "role": "USER"
}

Throughput for REST: 1814 req/sec
                            GRPC: 209 req/sec

Is grpc slower than rest in case payload is small or am I missing something 
in my test. 

Regards,
Shobhit 


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/5e02647c-0b93-456f-9b7d-075dd6a90e10n%40googlegroups.com.

Reply via email to