DEV Community

Discussion on: COVID19 Summary gRPC API written in Typescript

Collapse
 
anzhari profile image
Anzhari Purnomo

Hi Starpebble, thanks for starting the discussion!

So the background motivation for the gRPC was because I was trying to prepare for an upcoming project and want to know the tooling and quirks of gRPC.

Recently I am working on a multiplayer VR game project, and I need to build some kind of backend for the game. Considering we need to keep the latency and overhead low for the backend, I look for other alternative aside from REST.

I remembered that lately I saw a lot of backend project and job opening were mentioning gRPC. And realized that the low latency and and low overhead nature of gRPC might be the things that I need:

gRPC is roughly 7 times faster than REST when receiving data & roughly 10 times faster than REST when sending data for this specific payload. This is mainly due to the tight packing of the Protocol Buffers and the use of HTTP/2 by gRPC.

Hence, I'm trying to look for it's feasibility for my project.

How about you, have you tried gRPC yourself?

(It's definitely more than one and two sentences for you, but well... I am happy if I could help you 👍👍👍)

Collapse
 
starpebble profile image
starpebble

I don't disagree. A little feedback: the cloud native computing foundation is incubating gRPC on grpc.io. Which simply is another way of saying it's going to be all over the place.